mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
DO NOT MERGE
Use focused task id for getting task size When getting the selected task size, look at the focused task id, not the running task id. I believe this was a typo from the original change. Bug: 190399315 Test: Local build and flash and run Change-Id: Ice92e0562765f4f0142e27da0c38140df4c11425
This commit is contained in:
@@ -1358,7 +1358,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
mOrientationHandler);
|
||||
int taskWidth = mTempRect.width();
|
||||
int taskHeight = mTempRect.height();
|
||||
if (mRunningTaskId != -1) {
|
||||
if (mFocusedTaskId != -1) {
|
||||
int boxLength = Math.max(taskWidth, taskHeight);
|
||||
if (mFocusedTaskRatio > 1) {
|
||||
taskWidth = boxLength;
|
||||
|
||||
Reference in New Issue
Block a user