Loading services/tests/wmtests/src/com/android/server/wm/WindowTestsBase.java +6 −3 Original line number Diff line number Diff line Loading @@ -359,11 +359,14 @@ class WindowTestsBase extends SystemServiceTestsBase { new InsetsFrameProvider(owner, 0, WindowInsets.Type.tappableElement()), new InsetsFrameProvider(owner, 0, WindowInsets.Type.mandatorySystemGestures()) }; // If the navigation bar cannot move then it is always at the bottom. if (mDisplayContent.getDisplayPolicy().navigationBarCanMove()) { for (int rot = Surface.ROTATION_0; rot <= Surface.ROTATION_270; rot++) { mNavBarWindow.mAttrs.paramsForRotation[rot] = getNavBarLayoutParamsForRotation(rot, owner); } } } if (addAll || ArrayUtils.contains(requestedWindows, W_DOCK_DIVIDER)) { mDockedDividerWindow = createCommonWindow(null, TYPE_DOCK_DIVIDER, "mDockedDividerWindow"); Loading Loading
services/tests/wmtests/src/com/android/server/wm/WindowTestsBase.java +6 −3 Original line number Diff line number Diff line Loading @@ -359,11 +359,14 @@ class WindowTestsBase extends SystemServiceTestsBase { new InsetsFrameProvider(owner, 0, WindowInsets.Type.tappableElement()), new InsetsFrameProvider(owner, 0, WindowInsets.Type.mandatorySystemGestures()) }; // If the navigation bar cannot move then it is always at the bottom. if (mDisplayContent.getDisplayPolicy().navigationBarCanMove()) { for (int rot = Surface.ROTATION_0; rot <= Surface.ROTATION_270; rot++) { mNavBarWindow.mAttrs.paramsForRotation[rot] = getNavBarLayoutParamsForRotation(rot, owner); } } } if (addAll || ArrayUtils.contains(requestedWindows, W_DOCK_DIVIDER)) { mDockedDividerWindow = createCommonWindow(null, TYPE_DOCK_DIVIDER, "mDockedDividerWindow"); Loading