mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Merge "TaskbarViewController should only translate on rotation if icon is aligned with hotseat" into tm-qpr-dev am: 2f581b799b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20748309 Change-Id: Iffd7b5a38263fbbb019b1ddd15ebc500425ee94f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -428,8 +428,8 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
|
||||
}
|
||||
|
||||
public void onRotationChanged(DeviceProfile deviceProfile) {
|
||||
if (mControllers.taskbarStashController.isInApp()) {
|
||||
// We only translate on rotation when on home
|
||||
if (!mControllers.uiController.isIconAlignedWithHotseat()) {
|
||||
// We only translate on rotation when icon is aligned with hotseat
|
||||
return;
|
||||
}
|
||||
mActivity.setTaskbarWindowHeight(
|
||||
|
||||
Reference in New Issue
Block a user