Merge "[MediaProjection] Fix NPE introduced from deadlock fix" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c7f44afca9
@@ -260,7 +260,9 @@ public final class MediaProjectionManagerService extends SystemService
|
||||
}
|
||||
|
||||
synchronized (mLock) {
|
||||
mProjectionGrant.stop();
|
||||
if (mProjectionGrant != null) {
|
||||
mProjectionGrant.stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user