Merge "Override onTrimMemory to apply trimMemory in AppIconCacheManager"
This commit is contained in:
@@ -47,8 +47,8 @@ public class SettingsApplication extends Application {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLowMemory() {
|
||||
super.onLowMemory();
|
||||
AppIconCacheManager.getInstance().release();
|
||||
public void onTrimMemory(int level) {
|
||||
super.onTrimMemory(level);
|
||||
AppIconCacheManager.getInstance().trimMemory(level);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user