[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
Loading
Please register or sign in to comment