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

Commit 0808af0a authored by Oleg Petšjonkin's avatar Oleg Petšjonkin Committed by Android (Google) Code Review
Browse files

Merge "Properly handling case when DDC is null" into main

parents b034fae6 06bff8eb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1116,6 +1116,9 @@ public class DisplayModeDirector {
            if (mIsLowPower) {
                for (int i = 0; i < mDisplayDeviceConfigByDisplay.size(); i++) {
                    DisplayDeviceConfig config = mDisplayDeviceConfigByDisplay.valueAt(i);
                    if (config == null) {
                        continue;
                    }
                    List<SupportedModeData> supportedModes = config
                            .getRefreshRateData().lowPowerSupportedModes;
                    mVotesStorage.updateVote(