commit | 4c14f4b9eda8332347c81e0cf51c5de4dbc06399 | [log] [tgz] |
---|---|---|
author | Samuel Fufa <sfufa@google.com> | Mon Oct 05 10:50:00 2020 -0700 |
committer | Samuel Fufa <sfufa@google.com> | Mon Oct 05 11:12:15 2020 -0700 |
tree | 5bc28489833200010de2aa78bdb65d3e12432f89 | |
parent | 35879a3fdbb177b826b1f1005dc7c475a6e5947b [diff] |
Avoid double search item highlight Change-Id: Ic2e28b18f6d5e3ed32cd5646bc3bb4789c378e57
diff --git a/quickstep/src/com/android/launcher3/appprediction/PredictionRowView.java b/quickstep/src/com/android/launcher3/appprediction/PredictionRowView.java index d3c4c3d..1855267 100644 --- a/quickstep/src/com/android/launcher3/appprediction/PredictionRowView.java +++ b/quickstep/src/com/android/launcher3/appprediction/PredictionRowView.java
@@ -152,6 +152,10 @@ private void updateVisibility() { setVisibility(mPredictionsEnabled ? VISIBLE : GONE); + if (FeatureFlags.ENABLE_DEVICE_SEARCH.get() && mLauncher.getAppsView() != null + && mLauncher.getAppsView().getActiveRecyclerView() != null) { + mLauncher.getAppsView().invalidate(); + } } @Override