Merge "Always allow to trigger config change if decor insets change" into tm-qpr-dev
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