From 551b83f7c585d62a273dffd4207eb4d74aa695d9 Mon Sep 17 00:00:00 2001 From: Mike Wang Date: Wed, 8 Nov 2023 05:23:35 +0000 Subject: [PATCH] Change the MDS to platform app in selinux ap context. The MDS will be signed with platform key and become a platform app. To make the selinux rules for modem_diagnostic_app work, need to set it to platform app in app context. Bug: 287683516 Test: Tested with both dev key or platform key signed MDS apps and the selinux rules works. Change-Id: Ia0dacafc5e096c101e115b7356d8490391cb6bbd --- whitechapel_pro/seapp_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/whitechapel_pro/seapp_contexts b/whitechapel_pro/seapp_contexts index dcaaf664..eda8c10c 100644 --- a/whitechapel_pro/seapp_contexts +++ b/whitechapel_pro/seapp_contexts @@ -32,6 +32,7 @@ user=_app isPrivApp=true name=com.google.android.grilservice domain=grilservice_ # Modem Diagnostic System user=_app isPrivApp=true seinfo=mds name=com.google.mds domain=modem_diagnostic_app type=app_data_file levelFrom=user +user=_app isPrivApp=true seinfo=platform name=com.google.mds domain=modem_diagnostic_app type=app_data_file levelFrom=user # CBRS setup app user=_app seinfo=platform name=com.google.googlecbrs domain=cbrs_setup_app type=app_data_file levelFrom=user