Convert UserCache to use Dagger

Bug: 372012340
Test: Presubmit
Flag: EXEMPT Dagger Change
Change-Id: I36a0a3f56540c0515d99badc127c2ab8534e684e
This commit is contained in:
Charlie Anderson committed 2025-01-28 15:30:07 -05:00
1 parent 1787eda528
commit e90282b317
8 files changed
+108 -23

No files matched your search

@@ -64,7 +64,7 @@ public class TestSandboxModelContextWrapper extends ActivityContextWrapper imple
public TestSandboxModelContextWrapper(SandboxContext base) {
super(base);
mUserCache = base.getObject(UserCache.INSTANCE);
mUserCache = UserCache.getInstance(base);
InstrumentationRegistry.getInstrumentation().runOnMainSync(() ->
mAppsView = new ActivityAllAppsContainerView<>(this));
mAppsList = mAppsView.getPersonalAppList();