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

Commit 8ac09942 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Override onTrimMemory to apply trimMemory in AppIconCacheManager"

parents d03411f0 d0daff5a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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);
    }
}