diff options
author | Evan Wu <evanwu@google.com> | 2019-04-15 19:59:24 +0800 |
---|---|---|
committer | Evan Wu <evanwu@google.com> | 2019-05-07 00:18:35 +0000 |
commit | d6474c24a835986b7dadd0803955c8b91aff0570 (patch) | |
tree | 7a60e3b0c711d0a6572623a130ec8c8f4e21029e /startop/scripts/lib/cmd_utils.py | |
parent | c53df3a9cc4bf297d39b198e551be423db23acc3 (diff) |
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
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions