Skip to content
Snippets Groups Projects
Commit e871b1f6 authored by Naomi Musgrave's avatar Naomi Musgrave
Browse files

[MediaProjection] Fix NPE introduced from deadlock fix

Bug: 293133367
Test: Manual
Change-Id: I9c21acf069c66f1ade22c49b095ad5339fe13eca
parent 8228c296
No related branches found
No related tags found
No related merge requests found
......@@ -260,7 +260,9 @@ public final class MediaProjectionManagerService extends SystemService
}
synchronized (mLock) {
mProjectionGrant.stop();
if (mProjectionGrant != null) {
mProjectionGrant.stop();
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment