Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fee2452 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Do not set different gravity for non-moveable nav bar" into udc-dev am:...

Merge "Do not set different gravity for non-moveable nav bar" into udc-dev am: 64c27756 am: 5369328b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22954523



Change-Id: Id29839b9158cebf21691da327510b8eb8556a32a
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents f2d90587 5369328b
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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");