OSDN Git Service
(root)
/
android-x86
/
packages-apps-Trebuchet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
051527f
)
Ensuring that we always update the predicted apps set.
author
Winson Chung
<winsonc@google.com>
Thu, 25 Jun 2015 19:17:30 +0000
(12:17 -0700)
committer
Winson Chung
<winsonc@google.com>
Thu, 25 Jun 2015 19:24:24 +0000
(19:24 +0000)
Change-Id: Ieecf019442dcf4af42463ed6cbc4cdcd19468dec
src/com/android/launcher3/Launcher.java
patch
|
blob
|
history
diff --git
a/src/com/android/launcher3/Launcher.java
b/src/com/android/launcher3/Launcher.java
index
77c4540
..
847b29b
100644
(file)
--- a/
src/com/android/launcher3/Launcher.java
+++ b/
src/com/android/launcher3/Launcher.java
@@
-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);
}
}