commit | f5767cf92851e50fcd12ebb22f9d165239222b2f | [log] [tgz] |
---|---|---|
author | Hyunyoung Song <hyunyoungs@google.com> | Thu Mar 11 00:26:42 2021 -0800 |
committer | Hyunyoung Song <hyunyoungs@google.com> | Fri Mar 12 21:29:29 2021 -0800 |
tree | 400afdb5384bec0ec9bc57f5f0b1e120708f2ec0 | |
parent | 43b9310197bc6610448f36806218a1abdb763c52 [diff] |
Do not reset workprofile when on search result page Bug: 182443195 Test: Manual Change-Id: I2cb1d11949233273881dc9d387e68c9878d49096
diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java index edd9a9f..9ede94c 100644 --- a/src/com/android/launcher3/allapps/AllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java
@@ -201,9 +201,9 @@ } if (!mAH[AdapterHolder.MAIN].appsList.hasFilter()) { rebindAdapters(hasWorkApps); - } - if (hasWorkApps) { - resetWorkProfile(); + if (hasWorkApps) { + resetWorkProfile(); + } } }