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

Commit 2ffb7184 authored by Kweku Adams's avatar Kweku Adams
Browse files

Put config dump in the right place.

dumpConstants() allows the config values to be dumped alongside
constants from other parts of JobScheduler.

Bug: 236261941
Test: check dumpsys
Change-Id: I8970fc9a07385b3a102d890b304bb28e019dc572
parent b218fd8f
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -809,6 +809,12 @@ public final class FlexibilityController extends StateController {
        return mFcConfig;
    }

    @Override
    @GuardedBy("mLock")
    public void dumpConstants(IndentingPrintWriter pw) {
        mFcConfig.dump(pw);
    }

    @Override
    @GuardedBy("mLock")
    public void dumpControllerStateLocked(IndentingPrintWriter pw, Predicate<JobStatus> predicate) {
@@ -821,7 +827,5 @@ public final class FlexibilityController extends StateController {
        mFlexibilityTracker.dump(pw, predicate);
        pw.println();
        mFlexibilityAlarmQueue.dump(pw);
        pw.println();
        mFcConfig.dump(pw);
    }
}