summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-05-24 13:32:14 -0700
committerVadim Tryshev <vadimt@google.com>2019-05-28 18:28:09 +0000
commit5aef526e95ef91bc375498f55bca9c2b714b2828 (patch)
treea7eb9a979369e6dfd1ee14ebd5e2ef866c7172c4 /src/com/android/launcher3/allapps
parentebd5e88164ef3a59cfe5f75a9eaeb95222ded7fa (diff)
downloadandroid_packages_apps_Trebuchet-5aef526e95ef91bc375498f55bca9c2b714b2828.tar.gz
android_packages_apps_Trebuchet-5aef526e95ef91bc375498f55bca9c2b714b2828.tar.bz2
android_packages_apps_Trebuchet-5aef526e95ef91bc375498f55bca9c2b714b2828.zip
More logging for lab-only flake when an app doesn't start
I suspect that All Apps gets refreshed around the time of the click. Bug: 132900132 Change-Id: I6d3053f7d8f998e08ca495c005e14ddece634164
Diffstat (limited to 'src/com/android/launcher3/allapps')
-rw-r--r--src/com/android/launcher3/allapps/AlphabeticalAppsList.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
index 434918d2a..2ad92e16f 100644
--- a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
+++ b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
@@ -23,6 +23,7 @@ import com.android.launcher3.Launcher;
import com.android.launcher3.Utilities;
import com.android.launcher3.compat.AlphabeticIndexCompat;
import com.android.launcher3.shortcuts.DeepShortcutManager;
+import com.android.launcher3.testing.TestProtocol;
import com.android.launcher3.util.ComponentKey;
import com.android.launcher3.util.ItemInfoMatcher;
import com.android.launcher3.util.LabelComparator;
@@ -300,6 +301,11 @@ public class AlphabeticalAppsList implements AllAppsStore.OnUpdateListener {
}
private void refreshRecyclerView() {
+ if (TestProtocol.sDebugTracing) {
+ android.util.Log.d(TestProtocol.NO_START_TAG,
+ "refreshRecyclerView @ " + android.util.Log.getStackTraceString(
+ new Throwable()));
+ }
if (mAdapter != null) {
mAdapter.notifyDataSetChanged();
}