Merge "Merge "Do not sanitize override config for fullscreen" into nyc-dev am: 65f1973ba9 am: 47797a7653" into nyc-mr1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
4f01d2390f
@@ -1582,6 +1582,11 @@ final class TaskRecord {
|
|||||||
* @param globalConfig global configuration to update from.
|
* @param globalConfig global configuration to update from.
|
||||||
*/
|
*/
|
||||||
void sanitizeOverrideConfiguration(Configuration globalConfig) {
|
void sanitizeOverrideConfiguration(Configuration globalConfig) {
|
||||||
|
// If it's fullscreen, the override config should be empty and we should leave it alone.
|
||||||
|
if (mFullscreen) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// screenLayout field is set in #calculateOverrideConfig but only part of it is really
|
// screenLayout field is set in #calculateOverrideConfig but only part of it is really
|
||||||
// overridden - aspect ratio and size. Other flags (like layout direction) can be updated
|
// overridden - aspect ratio and size. Other flags (like layout direction) can be updated
|
||||||
// separately in global config and they also must be updated in override config.
|
// separately in global config and they also must be updated in override config.
|
||||||
|
|||||||
Reference in New Issue
Block a user