mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Refresh icon cache when icon shape path has changed
Bug: 120505990 $ adb shell cmd overlay enable --user 0 com.android.theme.icon.roundedrect $ adb shell cmd overlay disable --user 0 com.android.theme.icon.roundedrect $ adb shell cmd overlay enable --user 0 com.android.theme.icon.teardrop $ adb shell cmd overlay disable --user 0 com.android.theme.icon.teardrop Change-Id: I06663b9727f7434aae737d39977f1e6cf09bffbf
This commit is contained in:
@@ -151,7 +151,7 @@ public abstract class BaseIconCache {
|
||||
private synchronized void updateIconParamsBg(int iconDpi, int iconPixelSize) {
|
||||
mIconDpi = iconDpi;
|
||||
mDefaultIcons.clear();
|
||||
|
||||
mIconDb.clear();
|
||||
mIconDb.close();
|
||||
mIconDb = new IconDB(mContext, mDbFileName, iconPixelSize);
|
||||
mCache.clear();
|
||||
|
||||
Reference in New Issue
Block a user