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

Commit 905bf12d authored by d34d's avatar d34d Committed by Gerrit Code Review
Browse files

VolumeUI: Call mContext.recreateTheme() on theme change

This resolves an issue where the theme object is holding on to
themed resources that no longer exist.

See http://review.cyanogenmod.org/91826 for more details.

Change-Id: I6a6fd560791de42cf2f89807800ea158f4c591af
parent e4437ddf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ public class VolumeUI extends SystemUI {
        super.onConfigurationChanged(newConfig);

        if (isThemeChange(newConfig)) {
            mContext.recreateTheme();
            initPanel();
        }
        mConfiguration.setTo(newConfig);