Loading quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java +6 −2 Original line number Diff line number Diff line Loading @@ -944,10 +944,14 @@ public class TaskbarActivityContext extends BaseTaskbarContext { } if (landscapePhoneButtonNav) { mWindowLayoutParams.width = size; mWindowLayoutParams.paramsForRotation[getDisplay().getRotation()].width = size; for (int rot = Surface.ROTATION_0; rot <= Surface.ROTATION_270; rot++) { mWindowLayoutParams.paramsForRotation[rot].width = size; } } else { mWindowLayoutParams.height = size; mWindowLayoutParams.paramsForRotation[getDisplay().getRotation()].height = size; for (int rot = Surface.ROTATION_0; rot <= Surface.ROTATION_270; rot++) { mWindowLayoutParams.paramsForRotation[rot].height = size; } } mControllers.taskbarInsetsController.onTaskbarOrBubblebarWindowHeightOrInsetsChanged(); notifyUpdateLayoutParams(); Loading Loading
quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java +6 −2 Original line number Diff line number Diff line Loading @@ -944,10 +944,14 @@ public class TaskbarActivityContext extends BaseTaskbarContext { } if (landscapePhoneButtonNav) { mWindowLayoutParams.width = size; mWindowLayoutParams.paramsForRotation[getDisplay().getRotation()].width = size; for (int rot = Surface.ROTATION_0; rot <= Surface.ROTATION_270; rot++) { mWindowLayoutParams.paramsForRotation[rot].width = size; } } else { mWindowLayoutParams.height = size; mWindowLayoutParams.paramsForRotation[getDisplay().getRotation()].height = size; for (int rot = Surface.ROTATION_0; rot <= Surface.ROTATION_270; rot++) { mWindowLayoutParams.paramsForRotation[rot].height = size; } } mControllers.taskbarInsetsController.onTaskbarOrBubblebarWindowHeightOrInsetsChanged(); notifyUpdateLayoutParams(); Loading