diff options
author | Bruno Martins <bgcngm@gmail.com> | 2020-11-20 23:08:43 +0000 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-12-20 18:55:02 +0200 |
commit | 0e1a462ca25ec60de74c6d1c65962c54e89d6cdb (patch) | |
tree | e30e7c8626a266c96bdad27bdd04351844692070 | |
parent | 59823bb54b11d095061849b7afc4bb24b0612dbf (diff) |
sdm660-common: Trim QTI whitelists
Change-Id: Ia1d79cc421e2f49ee30ffe15a438dfed412df251
-rw-r--r-- | configs/privapp-permissions-qti.xml | 63 | ||||
-rw-r--r-- | configs/qti_whitelist.xml | 50 |
2 files changed, 1 insertions, 112 deletions
diff --git a/configs/privapp-permissions-qti.xml b/configs/privapp-permissions-qti.xml index 380b7bd..d253be3 100644 --- a/configs/privapp-permissions-qti.xml +++ b/configs/privapp-permissions-qti.xml @@ -28,81 +28,18 @@ It allows additional grants on top of privapp-permissions-platform.xml --> <permissions> - <privapp-permissions package="com.quicinc.cne.CNEService"> - <permission name="android.permission.INTERACT_ACROSS_USERS"/> - <permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD"/> - </privapp-permissions> - - <privapp-permissions package="com.qti.dpmserviceapp"> - <permission name="android.permission.INTERACT_ACROSS_USERS"/> - </privapp-permissions> - <privapp-permissions package="com.qualcomm.qcrilmsgtunnel"> <permission name="android.permission.INTERACT_ACROSS_USERS"/> </privapp-permissions> - <privapp-permissions package="org.codeaurora.dialer"> - <permission name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/> - <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/> - <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/> - <permission name="android.permission.MODIFY_PHONE_STATE"/> - <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> - <permission name="android.permission.STATUS_BAR"/> - <permission name="android.permission.STOP_APP_SWITCHES"/> - <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/> - <permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/> - </privapp-permissions> - - <privapp-permissions package="org.codeaurora.qti.qtiNetworkApp"> - <permission name="android.permission.MODIFY_PHONE_STATE"/> - </privapp-permissions> - <privapp-permissions package="org.codeaurora.ims"> <permission name="android.permission.READ_PRECISE_PHONE_STATE"/> <permission name="android.permission.INTERACT_ACROSS_USERS"/> <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/> </privapp-permissions> - <privapp-permissions package="com.android.soundrecorder"> - <permission name="android.permission.WRITE_MEDIA_STORAGE"/> - <permission name="android.permission.CAPTURE_AUDIO_OUTPUT"/> - </privapp-permissions> - - <privapp-permissions package="com.quicinc.voice.activation"> - <permission name="android.permission.CAPTURE_AUDIO_HOTWORD"/> - <permission name="android.permission.MANAGE_SOUND_TRIGGER"/> - </privapp-permissions> - - <privapp-permissions package="com.qualcomm.qti.carrierswitch"> - <permission name="android.permission.REBOOT"/> - </privapp-permissions> - <privapp-permissions package="com.qualcomm.wfd.service"> <permission name="android.permission.READ_FRAME_BUFFER"/> <permission name="android.permission.WRITE_MEDIA_STORAGE"/> </privapp-permissions> - - <privapp-permissions package="com.android.mms"> - <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> - <permission name="android.permission.WRITE_APN_SETTINGS"/> - <permission name="android.permission.CALL_PRIVILEGED"/> - </privapp-permissions> - - <privapp-permissions package="org.codeaurora.snapcam"> - <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/> - <permission name="android.permission.WRITE_MEDIA_STORAGE"/> - </privapp-permissions> - - <privapp-permissions package="org.codeaurora.gallery"> - <permission name="android.permission.MODIFY_AUDIO_ROUTING"/> - </privapp-permissions> - - <privapp-permissions package="com.qualcomm.qti.callenhancement"> - <permission name="android.permission.RECORD_AUDIO" /> - <permission name="android.permission.CAPTURE_AUDIO_OUTPUT" /> - <permission name="android.permission.READ_EXTERNAL_STORAGE" /> - <permission name="android.permission.WRITE_EXTERNAL_STORAGE" /> - <permission name="android.permission.READ_BLOCKED_NUMBERS" /> - <permission name="android.permission.VIBRATE" /> - </privapp-permissions> </permissions> diff --git a/configs/qti_whitelist.xml b/configs/qti_whitelist.xml index ef60d81..ef1cb4a 100644 --- a/configs/qti_whitelist.xml +++ b/configs/qti_whitelist.xml @@ -37,26 +37,11 @@ <allow-in-power-save package="com.qualcomm.qcrilmsgtunnel" /> <allow-in-power-save package="com.qualcomm.qti.ims" /> <allow-in-power-save package="com.qualcomm.qti.radioconfiginterface" /> - <allow-in-power-save package="com.qualcomm.simcontacts" /> - <allow-in-power-save package="com.qualcomm.qti.autoregistration" /> - <allow-in-power-save package="com.qualcomm.qti.server.wigigapp" /> - <allow-in-power-save package="com.qualcomm.qti.StatsPollManager" /> - <allow-in-power-save package="com.qualcomm.qti.gsma.services.nfc" /> - <allow-in-power-save package="com.quicinc.voice.activation" /> - <allow-in-power-save package="com.android.mms" /> - <allow-in-power-save package="com.android.exchange" /> - <allow-in-power-save package="com.android.email" /> - <allow-in-power-save package="com.qualcomm.qti.callenhancement" /> - <allow-in-power-save package="com.qualcomm.qti.smartassistant" /> + <!-- These telephony applications need access to non-[System]SDK APIs --> <hidden-api-whitelisted-app package="com.qualcomm.uimremoteserver" /> <hidden-api-whitelisted-app package="com.qualcomm.uimremoteclient" /> <hidden-api-whitelisted-app package="com.qualcomm.atfwd" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.autoregistration" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.callenhancement" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.callfeaturessetting" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.confdialer" /> - <hidden-api-whitelisted-app package="org.codeaurora.dialer" /> <hidden-api-whitelisted-app package="com.qti.qualcomm.datastatusnotification" /> <hidden-api-whitelisted-app package="com.qti.qualcomm.deviceinfo" /> <hidden-api-whitelisted-app package="com.qualcomm.qti.modemtestmode" /> @@ -66,17 +51,11 @@ <hidden-api-whitelisted-app package="com.qualcomm.qti.radioconfiginterface" /> <hidden-api-whitelisted-app package="com.qualcomm.qti.radioconfigtest" /> <hidden-api-whitelisted-app package="com.qualcomm.qti.roamingsettings" /> - <hidden-api-whitelisted-app package="com.qualcomm.simcontacts" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.simsettings" /> <hidden-api-whitelisted-app package="org.codeaurora.ims" /> <hidden-api-whitelisted-app package="com.qualcomm.qti.ims" /> <hidden-api-whitelisted-app package="com.qti.xdivert" /> <hidden-api-whitelisted-app package="com.qualcomm.qcrilmsgtunnel" /> - <hidden-api-whitelisted-app package="com.qti.confuridialer" /> - <hidden-api-whitelisted-app package="com.qti.editnumber" /> - <hidden-api-whitelisted-app package="com.qualcomm.embmstest" /> <hidden-api-whitelisted-app package="com.qualcomm.qti.ltedirect" /> - <hidden-api-whitelisted-app package="com.android.MultiplePdpTest" /> <hidden-api-whitelisted-app package="com.qualcomm.qti.app" /> <hidden-api-whitelisted-app package="com.qualcomm.embms" /> <hidden-api-whitelisted-app package="com.qualcomm.qti.embmstuneaway" /> @@ -84,33 +63,6 @@ <hidden-api-whitelisted-app package="com.qualcomm.qti.lpa" /> <hidden-api-whitelisted-app package="com.qualcomm.qti.uim" /> - <hidden-api-whitelisted-app package="org.codeaurora.snapcam" /> - <hidden-api-whitelisted-app package="com.android.mms" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.carrierswitch" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.carrierconfigure" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.sva" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.smartassistant" /> - <hidden-api-whitelisted-app package="com.quicinc.voice.activation" /> - <hidden-api-whitelisted-app package="com.android.backup" /> - <hidden-api-whitelisted-app package="com.android.contacts" /> - <hidden-api-whitelisted-app package="com.android.exchange" /> - <hidden-api-whitelisted-app package="com.android.soundrecorder" /> - <hidden-api-whitelisted-app package="com.android.camera2" /> - <hidden-api-whitelisted-app package="org.codeaurora.gallery" /> - <hidden-api-whitelisted-app package="com.example.connmgr" /> - <hidden-api-whitelisted-app package="com.android.email" /> - <hidden-api-whitelisted-app package="com.cyanogenmod.filemanager" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.presenceappSub2" /> - <hidden-api-whitelisted-app package="com.qualcomm.secureindicator" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.sysmonappExternal" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.biometrics.voiceprint.voiceprintdemo" /> - <hidden-api-whitelisted-app package="com.qti.vtloopback " /> - <hidden-api-whitelisted-app package="com.android.bluetooth" /> - <hidden-api-whitelisted-app package="org.codeaurora.bluetooth" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.qmmi" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.perfdump" /> <hidden-api-whitelisted-app package="com.qualcomm.wfd.client" /> <hidden-api-whitelisted-app package="com.qualcomm.wfd.service" /> - <hidden-api-whitelisted-app package="com.qualcomm.qti.server.wigigapp" /> - <hidden-api-whitelisted-app package="com.qti.service.colorservice" /> </config> |