commit | 91c05954435b10f52dfff1bc9025c4ea8ba4652b | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Thu Jun 25 12:17:30 2015 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu Jun 25 19:24:24 2015 +0000 |
tree | ac0b159daab9b7d8ae128035b8cd04ccaed80330 | |
parent | 051527fd540efc1de476cb1951ca637a158718d0 [diff] [blame] |
Ensuring that we always update the predicted apps set. Change-Id: Ieecf019442dcf4af42463ed6cbc4cdcd19468dec
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index 77c4540..847b29b 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java
@@ -3427,7 +3427,7 @@ private void tryAndUpdatePredictedApps() { if (mLauncherCallbacks != null) { List<ComponentKey> apps = mLauncherCallbacks.getPredictedApps(); - if (!apps.isEmpty()) { + if (apps != null) { mAppsView.setPredictedApps(apps); } }