From ccdbc4ddd850de96a556654e15c4e13d5e12fa89 Mon Sep 17 00:00:00 2001 From: Amy Zhang Date: Mon, 8 Jun 2020 21:29:59 -0700 Subject: [PATCH] Update media resourceManagerService with the Application pid This CL updates the media resourceManagerService calling pid with the real application pid when TunerResourceManager is able to get this information from TvInputManager. Calling IResourceManagerService.overridePid to update. Test: dumpsys media.resource_manager on cuttlefish Bug: 150989423 Change-Id: Ie811ae15bbcc326ed3a09f97b6b5a57f4b48b094 --- Android.bp | 1 + core/res/AndroidManifest.xml | 2 + .../TunerResourceManagerService.java | 52 ++++++++++++++++++- .../tests/servicestests/AndroidManifest.xml | 1 + 4 files changed, 55 insertions(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 632f49da5df97..7c2d6eb9301e8 100644 --- a/Android.bp +++ b/Android.bp @@ -264,6 +264,7 @@ filegroup { ":libcamera_client_aidl", ":libcamera_client_framework_aidl", ":libupdate_engine_aidl", + ":resourcemanager_aidl", ":storaged_aidl", ":vold_aidl", diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index f71d4063b8473..99b46ecee28f5 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -3534,6 +3534,8 @@ @hide --> + +