wv hidl: setRequestingSid to true
HALs need to getCallingSid to verify clients. [ Merge of http://go/wvgerrit/89123 ] Bug: 134787536 Test: log calling sid Change-Id: I9cfbddfc274457a6802d9c8f37470d656771acc6
This commit is contained in:
@@ -33,6 +33,9 @@ int main(int /* argc */, char** /* argv */) {
|
||||
|
||||
configureRpcThreadpool(8, true /* callerWillJoin */);
|
||||
|
||||
android::hardware::setRequestingSid(drmFactory, true);
|
||||
android::hardware::setRequestingSid(cryptoFactory, true);
|
||||
|
||||
// Setup hwbinder service
|
||||
auto serviceRegistrar = LazyServiceRegistrar::getInstance();
|
||||
CHECK_EQ(serviceRegistrar.registerService(drmFactory, "widevine"), android::NO_ERROR)
|
||||
|
||||
Reference in New Issue
Block a user