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

Commit b9c2a4c0 authored by Massimo Carli's avatar Massimo Carli Committed by Android (Google) Code Review
Browse files

Merge "Fix NullPointerException on mAppCompatDisplayInsets" into main

parents 616d04cc 18974932
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8896,6 +8896,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
                mAppCompatController.getAppCompatSizeCompatModePolicy();

        if (scmPolicy.hasAppCompatDisplayInsetsWithoutInheritance()
                && mAppCompatDisplayInsets != null
                && !mAppCompatDisplayInsets.mIsInFixedOrientationOrAspectRatioLetterbox) {
            // App prefers to keep its original size.
            // If the size compat is from previous fixed orientation letterboxing, we may want to