2 Commits

Author SHA1 Message Date
Evan Wu
d6474c24a8 Upgrade AOSP Dialer to Android Q, add necessary permissions.
1.Protect Device Identifiers: Starting in Android Q, apps must have the READ_PRIVILEGED_PHONE_STATE privileged permission in order to access the device's non-resettable identifiers
IMEI and serial is used for the *#06# dialog. OEMs needs this to run factory tests. Perhaps it is something that should be moved to telephony, but as the current state dialer is showing it.

2.Limit pre-installed app network permission:Preinstalled apps that want to access restricted network needs to declare the CONNECTIVITY_USE_RESTRICTED_NETWORKS permission.
Restricted network is used for VVM access.

Bug: 132081872,132080738
Test: Compile and load build
Change-Id: I246ab62a252d8a0335b8cc9ac5bb2089910781c9
2019-05-07 00:18:35 +00:00
Anton Hansson
832f74662d Separate privapp grant for dialer
This app is moving to /product, so split it out of the grant
file on /system. The grant file is made required by the app itself.

Bug: 122353713
Test: boot aosp_blueline
Change-Id: I5e304e9df8af6c974b59a56edee7dcd0a932de3f
2019-01-25 14:03:37 +00:00