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

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

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

Merge cherrypicks of ['googleplex-android-review.googlesource.com/28550768'] into security-aosp-sc-v2-release.

Change-Id: Idc925d4033a542e9d1852ec1e3ebba599f650fc6
parents 03c84889 375a30ad
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -283,6 +283,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
@@ -859,4 +859,9 @@ public class AdvancedPowerUsageDetailTest {

        verifyZeroInteractions(mBackupManager);
    }

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