mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Removing support for fake landscape
Bug: 111068105 Change-Id: If31d2f700ddee1d21541735de3a8006ee2a53c5c
This commit is contained in:
@@ -83,7 +83,7 @@ public class LauncherRootView extends InsettableFrameLayout {
|
||||
UI_STATE_ROOT_VIEW, drawInsetBar ? FLAG_DARK_NAV : 0);
|
||||
|
||||
// Update device profile before notifying th children.
|
||||
mLauncher.updateInsets(insets);
|
||||
mLauncher.getDeviceProfile().updateInsets(insets);
|
||||
boolean resetState = !insets.equals(mInsets);
|
||||
setInsets(insets);
|
||||
|
||||
@@ -127,7 +127,7 @@ public class LauncherRootView extends InsettableFrameLayout {
|
||||
}
|
||||
|
||||
public void dispatchInsets() {
|
||||
mLauncher.updateInsets(mInsets);
|
||||
mLauncher.getDeviceProfile().updateInsets(mInsets);
|
||||
super.setInsets(mInsets);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user