diff options
Diffstat (limited to 'src/com/android/launcher3/Launcher.java')
-rw-r--r-- | src/com/android/launcher3/Launcher.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index 44124f9d9..f98051d05 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java @@ -4414,10 +4414,9 @@ public class Launcher extends Activity // 3MB of memory for caching which isn't necessary. SQLiteDatabase.releaseMemory(); - // We reset the apps customize tray in order to - // to free all the memory associated with widget previews + // This clears all widget bitmaps from the widget tray if (mAppsCustomizeTabHost != null) { - mAppsCustomizeTabHost.reset(); + mAppsCustomizeTabHost.trimMemory(); } } } |