From 1510e010f6ed7cbee6883724c7b9314823758eaf Mon Sep 17 00:00:00 2001 From: Michael Jurka Date: Fri, 13 Dec 2013 16:07:45 +0100 Subject: Clean up imports Change-Id: Ic1f2604568d7865181efc66f3973e7fba70f26b0 --- src/com/android/launcher3/AllAppsList.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/com/android/launcher3/AllAppsList.java') diff --git a/src/com/android/launcher3/AllAppsList.java b/src/com/android/launcher3/AllAppsList.java index d955e4eae..b641eb5b3 100644 --- a/src/com/android/launcher3/AllAppsList.java +++ b/src/com/android/launcher3/AllAppsList.java @@ -16,9 +16,6 @@ package com.android.launcher3; -import java.util.ArrayList; -import java.util.List; - import android.content.ComponentName; import android.content.Context; import android.content.Intent; @@ -26,6 +23,9 @@ import android.content.pm.ActivityInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; +import java.util.ArrayList; +import java.util.List; + /** * Stores the list of all applications for the all apps view. -- cgit v1.2.3 From 953e0828b29215bb96b029ec01e6e6a3ae841b1e Mon Sep 17 00:00:00 2001 From: Chris Wren Date: Mon, 10 Feb 2014 12:16:54 -0500 Subject: use restored icon for restored app shortcuts Bug: 10778992 Change-Id: Ie430a6587d49dc0d78b87b81582c0cef7c281017 --- src/com/android/launcher3/AllAppsList.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/com/android/launcher3/AllAppsList.java') diff --git a/src/com/android/launcher3/AllAppsList.java b/src/com/android/launcher3/AllAppsList.java index b641eb5b3..89b291f28 100644 --- a/src/com/android/launcher3/AllAppsList.java +++ b/src/com/android/launcher3/AllAppsList.java @@ -32,7 +32,7 @@ import java.util.List; */ class AllAppsList { public static final int DEFAULT_APPLICATIONS_NUMBER = 42; - + /** The list off all apps. */ public ArrayList data = new ArrayList(DEFAULT_APPLICATIONS_NUMBER); @@ -115,8 +115,7 @@ class AllAppsList { data.remove(i); } } - // This is more aggressive than it needs to be. - mIconCache.flush(); + mIconCache.remove(packageName); } /** -- cgit v1.2.3