Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55128109 authored by Ryan Mitchell's avatar Ryan Mitchell Committed by Android (Google) Code Review
Browse files

Merge "Fix RRO handleConfigurationChanged race condition" into sc-dev

parents 29ce722f 119a7f55
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -158,10 +158,9 @@ class ConfigurationController {
        int configDiff;
        boolean equivalent;

        synchronized (mResourcesManager) {
            final Resources.Theme systemTheme = mActivityThread.getSystemContext().getTheme();
            final Resources.Theme systemUiTheme = mActivityThread.getSystemUiContext().getTheme();

        synchronized (mResourcesManager) {
            if (mPendingConfiguration != null) {
                if (!mPendingConfiguration.isOtherSeqNewer(config)) {
                    config = mPendingConfiguration;