Merge "Always allow to trigger config change if decor insets change" into tm-qpr-dev am: fefd3b2bb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19889692 Change-Id: I24000e7d8ca2ec44532dfb78291eb2d01f9fcca3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2184,9 +2184,7 @@ public class DisplayPolicy {
|
|||||||
}
|
}
|
||||||
mDecorInsets.invalidate();
|
mDecorInsets.invalidate();
|
||||||
mDecorInsets.mInfoForRotation[rotation].set(newInfo);
|
mDecorInsets.mInfoForRotation[rotation].set(newInfo);
|
||||||
// If the device is booting, let the boot procedure trigger the new configuration.
|
return true;
|
||||||
// Otherwise the display configuration needs to be recomputed now.
|
|
||||||
return mService.mDisplayEnabled;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DecorInsets.Info getDecorInsetsInfo(int rotation, int w, int h) {
|
DecorInsets.Info getDecorInsetsInfo(int rotation, int w, int h) {
|
||||||
|
|||||||
Reference in New Issue
Block a user