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

Commit a86c441b authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Merge cherrypicks of ['googleplex-android-review.googlesource.com/28559214']...

Merge cherrypicks of ['googleplex-android-review.googlesource.com/28559214'] into security-aosp-tm-release.

Change-Id: Iadf494e580f38e58ae3657513e97bded81432b90
parents d2e7b7d7 2ba0d37c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -284,6 +284,11 @@ public class AdvancedPowerUsageDetail extends DashboardFragment implements
        }
    }

    @Override
    protected boolean shouldSkipForInitialSUW() {
        return true;
    }

    @Override
    public void onPause() {
        super.onPause();
+5 −0
Original line number Diff line number Diff line
@@ -894,4 +894,9 @@ public class AdvancedPowerUsageDetailTest {

        verifyZeroInteractions(mBackupManager);
    }

    @Test
    public void shouldSkipForInitialSUW_returnTrue() {
        assertThat(mFragment.shouldSkipForInitialSUW()).isTrue();
    }
}