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

Commit ddcac2c7 authored by Michael Wachenschwanz's avatar Michael Wachenschwanz Committed by android-build-merger
Browse files

Set AppStandbyController charging state on init

am: 2795cca1

Change-Id: I67b2d6bd5a6f1a5bbc5f8c6e70d6d6516d67a791
parents 3c3beb6e 2795cca1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -207,8 +207,8 @@ public class UsageStatsService extends SystemService implements

    @Override
    public void onBootPhase(int phase) {
        if (phase == PHASE_SYSTEM_SERVICES_READY) {
        mAppStandby.onBootPhase(phase);
        if (phase == PHASE_SYSTEM_SERVICES_READY) {
            // initialize mDpmInternal
            getDpmInternal();