commit | 3477804c7297bbdc33943bbfa2be4712ec840a58 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Wed Apr 11 16:31:31 2018 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Wed Apr 11 16:43:18 2018 -0700 |
tree | 3a69fa35acab9019a50e9a7b0f51013fe57da436 | |
parent | fc72493dd7245b0e24a53f4ea1b215871c89ba37 [diff] |
Using correct window bounds in multi-window for fallback activity Also fixing a bug where insets were not updated when recreating deviceprofile Bug: 77875376 Change-Id: I7806cf949da415ef171ccf2f4ab3e8f2b7606220
diff --git a/src/com/android/launcher3/LauncherRootView.java b/src/com/android/launcher3/LauncherRootView.java index b1273b6..f204c16 100644 --- a/src/com/android/launcher3/LauncherRootView.java +++ b/src/com/android/launcher3/LauncherRootView.java
@@ -100,6 +100,7 @@ } public void dispatchInsets() { + mLauncher.getDeviceProfile().updateInsets(mInsets); super.setInsets(mInsets); }