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

Commit 366cb69a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes a NPE in the DisplayResolutionTracker."

parents d6b03121 09055e3d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -96,6 +96,9 @@ public class DisplayResolutionTracker {

    private void updateDisplay(int displayId) {
        DisplayInfo info = mManager.getDisplayInfo(displayId);
        if (info == null) {
            return;
        }
        @Resolution int resolution = getResolution(info);

        synchronized (mLock) {