diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java index edd9a9f7ef..9ede94c43f 100644 --- a/src/com/android/launcher3/allapps/AllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java @@ -201,9 +201,9 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo } if (!mAH[AdapterHolder.MAIN].appsList.hasFilter()) { rebindAdapters(hasWorkApps); - } - if (hasWorkApps) { - resetWorkProfile(); + if (hasWorkApps) { + resetWorkProfile(); + } } }