Merge "Fix recents scale sometimes lagging behind window scale" into ub-launcher3-master

This commit is contained in:
Tony Wickham authored and Android (Google) Code Review committed 2019-11-20 05:07:12 +00:00
commit ff828d2f24
3 files changed
+7 -8

No files matched your search

+5 -1
View File
@@ -508,12 +508,16 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns,
@Override
public void reapplyUi() {
reapplyUi(true /* cancelCurrentAnimation */);
}
public void reapplyUi(boolean cancelCurrentAnimation) {
if (supportsFakeLandscapeUI()) {
mRotationMode = mStableDeviceProfile == null
? RotationMode.NORMAL : getFakeRotationMode(mDeviceProfile);
}
getRootView().dispatchInsets();
getStateManager().reapplyState(true /* cancelCurrentAnimation */);
getStateManager().reapplyState(cancelCurrentAnimation);
}
@Override