Remove OemHook registration.
This is a deprecated HAL which hasn't been supported since fcm level 2.
It's not in the manifest, and new runtime checks now require it to be in
the manifest.
Bug: 139274536
Test: TH
Change-Id: Ibb5521d565c956f539cd6bfc3ba0c00a1ba934f0
diff --git a/guest/hals/ril/libril/ril_service.cpp b/guest/hals/ril/libril/ril_service.cpp
index ab3c33b..23a61ee 100755
--- a/guest/hals/ril/libril/ril_service.cpp
+++ b/guest/hals/ril/libril/ril_service.cpp
@@ -9445,7 +9445,7 @@
if (kOemHookEnabled) {
oemHookService[i] = new OemHookImpl;
oemHookService[i]->mSlotId = i;
- status = oemHookService[i]->registerAsService(serviceNames[i]);
+ // status = oemHookService[i]->registerAsService(serviceNames[i]);
}
ret = pthread_rwlock_unlock(radioServiceRwlockPtr);