summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Launcher.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/Launcher.java')
-rw-r--r--src/com/android/launcher3/Launcher.java5
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();
}
}
}