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

Commit 4b069171 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

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



Change-Id: I922b77e00fb4e61f732e3e1689e0983b97d1b158
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 9958b47e 517bd102
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2282,8 +2282,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);
        }