Make anomaly item refresh in battery
Bug: 63908155 Test: RunSettingsRoboTest Change-Id: I3e220001ca989020447403641360fade4d09e969
This commit is contained in:
@@ -483,9 +483,9 @@ public class PowerUsageSummaryTest {
|
||||
doReturn(mAnomalyDetectionPolicy).when(mFragment).getAnomalyDetectionPolicy();
|
||||
when(mAnomalyDetectionPolicy.isAnomalyDetectionEnabled()).thenReturn(true);
|
||||
|
||||
mFragment.initAnomalyDetectionIfPossible();
|
||||
mFragment.restartAnomalyDetectionIfPossible();
|
||||
|
||||
verify(mLoaderManager).initLoader(eq(PowerUsageSummary.ANOMALY_LOADER), eq(Bundle.EMPTY),
|
||||
verify(mLoaderManager).restartLoader(eq(PowerUsageSummary.ANOMALY_LOADER), eq(Bundle.EMPTY),
|
||||
any());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user