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

Commit 78d3c549 authored by d34d's avatar d34d Committed by Clark Scheff
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 eac02f73
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -99,6 +99,7 @@ public class VolumeUI extends SystemUI {
        if (isThemeChange(newConfig)) {
            // TODO: implement initPanel() if needed
            //initPanel();
            mContext.recreateTheme();
        }
        mConfiguration.setTo(newConfig);
    }