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

Commit 09055e3d authored by Pascal Muetschard's avatar Pascal Muetschard
Browse files

Fixes a NPE in the DisplayResolutionTracker.

Bug: 246761682
Change-Id: I18f41166e2db92e9330c283600a492a3031b320f
parent ea34fde7
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) {