mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Load some recent tasks
Bug: 69166452 Test: Build quickstep Change-Id: Id4b0172256d6920616a6b9529d61abd1fe0c1a36
This commit is contained in:
@@ -27,7 +27,6 @@ import android.graphics.Rect;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.view.Gravity;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewGroup.LayoutParams;
|
||||
import android.widget.FrameLayout;
|
||||
|
||||
@@ -681,13 +680,13 @@ public class DeviceProfile {
|
||||
}
|
||||
}
|
||||
|
||||
private int getCurrentWidth() {
|
||||
public int getCurrentWidth() {
|
||||
return isLandscape
|
||||
? Math.max(widthPx, heightPx)
|
||||
: Math.min(widthPx, heightPx);
|
||||
}
|
||||
|
||||
private int getCurrentHeight() {
|
||||
public int getCurrentHeight() {
|
||||
return isLandscape
|
||||
? Math.min(widthPx, heightPx)
|
||||
: Math.max(widthPx, heightPx);
|
||||
|
||||
Reference in New Issue
Block a user