Ensuring that we always update the predicted apps set.

Change-Id: Ieecf019442dcf4af42463ed6cbc4cdcd19468dec
This commit is contained in:
Winson Chung
2015-06-25 12:17:30 -07:00
parent 051527fd54
commit 91c0595443
+1 -1
View File
@@ -3427,7 +3427,7 @@ public class Launcher extends Activity
private void tryAndUpdatePredictedApps() {
if (mLauncherCallbacks != null) {
List<ComponentKey> apps = mLauncherCallbacks.getPredictedApps();
if (!apps.isEmpty()) {
if (apps != null) {
mAppsView.setPredictedApps(apps);
}
}