Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbe3683a authored by Fan Zhang's avatar Fan Zhang Committed by Android (Google) Code Review
Browse files

Merge "Fix a flaky test."

parents f1239e1b 4ab4ff8b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@ public class AutomaticStorageManagerSwitchBarControllerTest {
        mSwitchBar = new SwitchBar(mContext);

        Context fakeContextForFakeProvider = mock(Context.class, RETURNS_DEEP_STUBS);
        FakeFeatureFactory.setupForTest(fakeContextForFakeProvider);
        FeatureFactory featureFactory = FakeFeatureFactory.getFactory(fakeContextForFakeProvider);
        mMetricsFeatureProvider = featureFactory.getMetricsFeatureProvider();
        mPreference = new Preference(mContext);