summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AllAppsStore.java
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-08-13 18:27:43 -0700
committerVadim Tryshev <vadimt@google.com>2019-08-22 22:34:17 +0000
commit2b3303c744cc136991f055b799e591edbcbccafe (patch)
tree3f5df4861757e8e0ac78c6397fe3812220d49050 /src/com/android/launcher3/allapps/AllAppsStore.java
parent89137e7bb8ae9191b4ae86491339040135ca1c78 (diff)
downloadandroid_packages_apps_Trebuchet-2b3303c744cc136991f055b799e591edbcbccafe.tar.gz
android_packages_apps_Trebuchet-2b3303c744cc136991f055b799e591edbcbccafe.tar.bz2
android_packages_apps_Trebuchet-2b3303c744cc136991f055b799e591edbcbccafe.zip
Not freezing All Apps during user interactions
Extremely rarely, All Apps will get stuck in a non-updating state even after the interaction ends. It would be impractical to try drilling to the root cause of this, so it's better to just allow All Apps updates while the user interacts with it. Bug: 139384936 Change-Id: I2ed7fb052da77a9e47ef9b9aa7800499071b98c3
Diffstat (limited to 'src/com/android/launcher3/allapps/AllAppsStore.java')
-rw-r--r--src/com/android/launcher3/allapps/AllAppsStore.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsStore.java b/src/com/android/launcher3/allapps/AllAppsStore.java
index 267363fa7..ca8dbebfc 100644
--- a/src/com/android/launcher3/allapps/AllAppsStore.java
+++ b/src/com/android/launcher3/allapps/AllAppsStore.java
@@ -39,10 +39,8 @@ public class AllAppsStore {
// Defer updates flag used to defer all apps updates to the next draw.
public static final int DEFER_UPDATES_NEXT_DRAW = 1 << 0;
- // Defer updates flag used to defer all apps updates while the user interacts with all apps.
- public static final int DEFER_UPDATES_USER_INTERACTION = 1 << 1;
// Defer updates flag used to defer all apps updates by a test's request.
- public static final int DEFER_UPDATES_TEST = 1 << 2;
+ public static final int DEFER_UPDATES_TEST = 1 << 1;
private PackageUserKey mTempKey = new PackageUserKey(null, null);
private final HashMap<ComponentKey, AppInfo> mComponentToAppMap = new HashMap<>();