Don't move taskbar window when it resizes
Test: enter split screen, open folder or drag an app icon and ensure the taskbar doesn't jump briefly to the top of the screen Fixes: 199386357 Change-Id: I9a4787931a764db0bc036725a58984823a8d5467
This commit is contained in:
1 parent
ca549695aa
commit
ed16fb4739
1 file changed
+2
@@ -162,6 +162,8 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ
|
||||
mWindowLayoutParams.setFitInsetsTypes(0);
|
||||
mWindowLayoutParams.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING;
|
||||
mWindowLayoutParams.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
||||
mWindowLayoutParams.privateFlags =
|
||||
WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION;
|
||||
|
||||
WindowManagerWrapper wmWrapper = WindowManagerWrapper.getInstance();
|
||||
wmWrapper.setProvidesInsetsTypes(
|
||||
|
||||
Reference in new issue
Block a user