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
This commit is contained in:
Sunny Goyal
2018-04-11 16:31:31 -07:00
parent fc72493dd7
commit 3477804c72
5 changed files with 40 additions and 7 deletions

View File

@@ -100,6 +100,7 @@ public class LauncherRootView extends InsettableFrameLayout {
}
public void dispatchInsets() {
mLauncher.getDeviceProfile().updateInsets(mInsets);
super.setInsets(mInsets);
}