diff options
author | 2021-06-10 19:49:40 +0000 | |
---|---|---|
committer | 2021-06-10 19:49:40 +0000 | |
commit | 55128109d9d0a44a57c118a6da086e0bf5f791ef (patch) | |
tree | 24fb65490fd550f9147efec09840f0f2880f2637 | |
parent | 29ce722f16750e1527530838fde81acd971f8054 (diff) | |
parent | 119a7f55911ba3e96a35300090bf83d00c5dc4a4 (diff) |
Merge "Fix RRO handleConfigurationChanged race condition" into sc-dev
-rw-r--r-- | core/java/android/app/ConfigurationController.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/java/android/app/ConfigurationController.java b/core/java/android/app/ConfigurationController.java index 6d92201db8ec..f79e0780ecae 100644 --- a/core/java/android/app/ConfigurationController.java +++ b/core/java/android/app/ConfigurationController.java @@ -158,10 +158,9 @@ class ConfigurationController { int configDiff; boolean equivalent; - final Resources.Theme systemTheme = mActivityThread.getSystemContext().getTheme(); - final Resources.Theme systemUiTheme = mActivityThread.getSystemUiContext().getTheme(); - synchronized (mResourcesManager) { + final Resources.Theme systemTheme = mActivityThread.getSystemContext().getTheme(); + final Resources.Theme systemUiTheme = mActivityThread.getSystemUiContext().getTheme(); if (mPendingConfiguration != null) { if (!mPendingConfiguration.isOtherSeqNewer(config)) { config = mPendingConfiguration; |