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

Commit 692fa2cf authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not dispatch theme change if same @ResId" into sc-v2-dev

parents f013f427 f17bdea4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3292,6 +3292,9 @@ public class StatusBar extends SystemUI implements
        final boolean lockDarkText = mColorExtractor.getNeutralColors().supportsDarkText();
        final int themeResId = lockDarkText ? R.style.Theme_SystemUI_LightWallpaper
                : R.style.Theme_SystemUI;
        if (mContext.getThemeResId() == themeResId) {
            return;
        }
        mContext.setTheme(themeResId);
        mConfigurationController.notifyThemeChanged();
    }