Merge "Skip updating DisplayFrames when everything is the same" into tm-dev am: 77305dced2

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

Change-Id: I2a99049079828fb8979853fca7ca865a9ba2ae5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Tiger Huang
2022-04-29 16:05:52 +00:00
committed by Automerger Merge Worker

View File

@@ -83,7 +83,7 @@ public class DisplayFrames {
final Rect safe = mDisplayCutoutSafe;
final DisplayCutout cutout = displayCutout.getDisplayCutout();
if (mDisplayWidth == info.logicalWidth && mDisplayHeight == info.logicalHeight
&& mRotation != info.rotation
&& mRotation == info.rotation
&& state.getDisplayCutout().equals(cutout)
&& state.getRoundedCorners().equals(roundedCorners)
&& state.getPrivacyIndicatorBounds().equals(indicatorBounds)) {