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

Commit bd619555 authored by Fiona Campbell's avatar Fiona Campbell Committed by Automerger Merge Worker
Browse files

Merge "Save display persistent data store" into sc-dev am: 6a295360

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14353385

Change-Id: I4cb948cc243c48f3a94db7760db774b7d7bae792
parents b4cdf2f6 6a295360
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1282,6 +1282,7 @@ public final class DisplayManagerService extends SystemService {
        // this point.
        sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED);
        scheduleTraversalLocked(false);
        mPersistentDataStore.saveIfNeeded();
    }

    private void handleLogicalDisplayFrameRateOverridesChangedLocked(
@@ -2884,6 +2885,7 @@ public final class DisplayManagerService extends SystemService {
                    if (dpc != null) {
                        dpc.putScreenBrightnessSetting(brightness);
                    }
                    mPersistentDataStore.saveIfNeeded();
                }
            } finally {
                Binder.restoreCallingIdentity(token);