commit | b2b65a1ef58b020923d112051535b6eb83b582df | [log] [tgz] |
---|---|---|
author | Samuel Fufa <sfufa@google.com> | Tue Oct 06 17:45:35 2020 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Oct 06 17:45:35 2020 +0000 |
tree | 6abcb147e60383d079b6afd2ef750930ea2ea60c | |
parent | 3cf264f498e37c482fa4c559bf48ffa791279585 [diff] | |
parent | 4c14f4b9eda8332347c81e0cf51c5de4dbc06399 [diff] |
Merge "Avoid double search item highlight" into ub-launcher3-master
diff --git a/quickstep/src/com/android/launcher3/appprediction/PredictionRowView.java b/quickstep/src/com/android/launcher3/appprediction/PredictionRowView.java index e7880fd..b5ba8a6 100644 --- a/quickstep/src/com/android/launcher3/appprediction/PredictionRowView.java +++ b/quickstep/src/com/android/launcher3/appprediction/PredictionRowView.java
@@ -148,6 +148,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