Making UserCache the source of truth for all user events

Bug: 243688989
Test: Presubmit
Flag: N/A
Change-Id: I0e6b853d965eff1abaeb3b26dd6b94424e5212df
This commit is contained in:
Sunny Goyal
2023-06-07 12:52:30 -07:00
parent a8aefb6e14
commit c80e60dc7a
5 changed files with 118 additions and 134 deletions

View File

@@ -1100,7 +1100,10 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
}
}
protected boolean shouldShowTabs() {
/**
* Returns true if the container has work apps.
*/
public boolean shouldShowTabs() {
return mHasWorkApps;
}