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

Commit 58f9bdf0 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Always update config from decor insets change during booting" into main

parents e63d978e 2e3b8f55
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2156,6 +2156,11 @@ public class DisplayPolicy {
        }
        mDecorInsets.invalidate();
        mDecorInsets.mInfoForRotation[rotation].set(newInfo);
        if (!mService.mDisplayEnabled) {
            // There could be other pending changes during booting. It might be better to let the
            // clients receive the new states earlier.
            return true;
        }
        return !sameConfigFrame;
    }