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

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

Merge "Fix NPE when passing displayId through handler" into sc-v2-dev am: d9dede17

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

Change-Id: Ia1a9b6c6ab384f44c7c1e94541a49582452b801b
parents ba21f508 d9dede17
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2252,6 +2252,9 @@ public final class DisplayManagerService extends SystemService {
                        int displayId = msg.arg1;
                        final LogicalDisplay display =
                                mLogicalDisplayMapper.getDisplayLocked(displayId);
                        if (display == null) {
                            break;
                        }
                        uids = display.getPendingFrameRateOverrideUids();
                        display.clearPendingFrameRateOverrideUids();
                    }