diff --git a/libs/binder/AppOpsManager.cpp b/libs/binder/AppOpsManager.cpp index 99c27476c..61b4f7d66 100644 --- a/libs/binder/AppOpsManager.cpp +++ b/libs/binder/AppOpsManager.cpp @@ -31,6 +31,7 @@ static const sp& getToken(const sp& service) { if (gToken == NULL) { gToken = service->getToken(new BBinder()); } + pthread_mutex_unlock(&gTokenMutex); return gToken; }