Do not rebind AA+ adapters when there's search result

Bug: 181352111
Test: manual
Change-Id: Ieab75f3805f5d06a6bd8f60014abca103d7004b4
This commit is contained in:
Hyunyoung Song
2021-03-03 09:24:55 -08:00
parent 23c0fc4ac0
commit d3df0e4103

View File

@@ -199,7 +199,9 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
break;
}
}
rebindAdapters(hasWorkApps);
if (!mAH[AdapterHolder.MAIN].appsList.hasFilter()) {
rebindAdapters(hasWorkApps);
}
if (hasWorkApps) {
resetWorkProfile();
}