summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherRootView.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-04-11 16:31:31 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-04-11 16:43:18 -0700
commit3477804c7297bbdc33943bbfa2be4712ec840a58 (patch)
tree3a69fa35acab9019a50e9a7b0f51013fe57da436 /src/com/android/launcher3/LauncherRootView.java
parentfc72493dd7245b0e24a53f4ea1b215871c89ba37 (diff)
downloadandroid_packages_apps_Trebuchet-3477804c7297bbdc33943bbfa2be4712ec840a58.tar.gz
android_packages_apps_Trebuchet-3477804c7297bbdc33943bbfa2be4712ec840a58.tar.bz2
android_packages_apps_Trebuchet-3477804c7297bbdc33943bbfa2be4712ec840a58.zip
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
Diffstat (limited to 'src/com/android/launcher3/LauncherRootView.java')
-rw-r--r--src/com/android/launcher3/LauncherRootView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/LauncherRootView.java b/src/com/android/launcher3/LauncherRootView.java
index b1273b64c..f204c16e2 100644
--- a/src/com/android/launcher3/LauncherRootView.java
+++ b/src/com/android/launcher3/LauncherRootView.java
@@ -100,6 +100,7 @@ public class LauncherRootView extends InsettableFrameLayout {
}
public void dispatchInsets() {
+ mLauncher.getDeviceProfile().updateInsets(mInsets);
super.setInsets(mInsets);
}