From 840abdc14cb63535682b1f94b83a2b57f35a54da Mon Sep 17 00:00:00 2001 From: markchien Date: Sun, 24 Nov 2019 23:26:26 +0800 Subject: [PATCH] [Tether11] Grant privileged permissions for tethering Since tethering is moved from systemServer to networkStack process, it would lose privileged capability. Grant privileged permissions for tethering individually. Grant MANAGE_USB to control usb rndis function. Grant MODIFY_PHONE_STATE to know whether DUN is required. Grant READ_NETWORK_USAGE_HISTORY to update tethering usage. Grant UPDATE_APP_OPS_STATS to check WRITE_SETTINGS permission. Bug: 144320246 Test: -build, flash, boot -atest TetheringTests Change-Id: Id6e71b58e027d6ba90551084367ef881652c2555 --- data/etc/privapp-permissions-platform.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 375b35ca24988..b279f4a1800ca 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -234,6 +234,13 @@ applications that come with the platform + + + + + + +