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

Commit eb854c69 authored by Tiger Huang's avatar Tiger Huang Committed by Automerger Merge Worker
Browse files

Merge "wm: fix APPEARANCE_LOW_PROFILE_BARS not working in non-fullscreen app"...

Merge "wm: fix APPEARANCE_LOW_PROFILE_BARS not working in non-fullscreen app" am: c9f5acd1 am: bf7011df am: 8e3ca03b am: 517bd102 am: 4b069171

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



Change-Id: Iab20c0123f898089d1fdc5d16bf55fef18c08ad5
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 74c4cb13 4b069171
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2285,8 +2285,8 @@ public class DisplayPolicy {
                && Arrays.equals(mLastLetterboxDetails, letterboxDetails)) {
            return;
        }
        if (mDisplayContent.isDefaultDisplay && mLastFocusIsFullscreen != isFullscreen
                && ((mLastAppearance ^ appearance) & APPEARANCE_LOW_PROFILE_BARS) != 0) {
        if (mDisplayContent.isDefaultDisplay && (mLastFocusIsFullscreen != isFullscreen
                || ((mLastAppearance ^ appearance) & APPEARANCE_LOW_PROFILE_BARS) != 0)) {
            mService.mInputManager.setSystemUiLightsOut(
                    isFullscreen || (appearance & APPEARANCE_LOW_PROFILE_BARS) != 0);
        }