Do not reset workprofile when on search result page

Bug: 182443195
Test: Manual
Change-Id: I2cb1d11949233273881dc9d387e68c9878d49096
This commit is contained in:
Hyunyoung Song
2021-03-11 00:26:42 -08:00
parent 43b9310197
commit f5767cf928

View File

@@ -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();
}
}
}