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

Commit abd4658c authored by Naomi Musgrave's avatar Naomi Musgrave Committed by Automerger Merge Worker
Browse files

Merge "[MediaProjection] Fix NPE introduced from deadlock fix" into udc-qpr-dev am: c7f44afc

parents c8e2257e c7f44afc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -260,9 +260,11 @@ public final class MediaProjectionManagerService extends SystemService
        }

        synchronized (mLock) {
            if (mProjectionGrant != null) {
                mProjectionGrant.stop();
            }
        }
    }

    private void startProjectionLocked(final MediaProjection projection) {
        if (mProjectionGrant != null) {