diff options
author | d34d <clark@cyngn.com> | 2015-03-31 14:46:46 -0700 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2015-10-27 18:03:07 -0700 |
commit | 78d3c549fa49bd7012c64efa9970c61da338563e (patch) | |
tree | 3af7fe71ab2e2b69b7df236620ea444228940ef5 | |
parent | eac02f7307a4ad433ed1e95a852605cae1f7b0bf (diff) | |
download | frameworks_base-78d3c549fa49bd7012c64efa9970c61da338563e.zip frameworks_base-78d3c549fa49bd7012c64efa9970c61da338563e.tar.gz frameworks_base-78d3c549fa49bd7012c64efa9970c61da338563e.tar.bz2 |
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
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java b/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java index 998959f..e49ff50 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java +++ b/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java @@ -99,6 +99,7 @@ public class VolumeUI extends SystemUI { if (isThemeChange(newConfig)) { // TODO: implement initPanel() if needed //initPanel(); + mContext.recreateTheme(); } mConfiguration.setTo(newConfig); } |