Merge "Fix AppOsManager missing mutex unlock."

This commit is contained in:
Zhijun He 2013-07-23 00:15:27 +00:00 committed by Android (Google) Code Review
commit 6bbe39de66

View File

@ -31,6 +31,7 @@ static const sp<IBinder>& getToken(const sp<IAppOpsService>& service) {
if (gToken == NULL) {
gToken = service->getToken(new BBinder());
}
pthread_mutex_unlock(&gTokenMutex);
return gToken;
}