diff options
author | Evan Wu <evanwu@google.com> | 2019-04-10 21:18:43 +0800 |
---|---|---|
committer | Evan Wu <evanwu@google.com> | 2019-05-07 00:24:39 +0000 |
commit | e9f21732d5253117e6546d792ef4b931775c6c78 (patch) | |
tree | 38f6dbe003c4f5272bcc8e8210972502fcafe6e9 /java | |
parent | a65811d09d7043810d062daca4449f236663f026 (diff) |
Upgrade AOSP Dialer to Android Q, add necessary permissions in application side.
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.
3.Notification fullscreen intent attribution, Developers need to add a uses-permission tag for android.permission.USE_FULL_SCREEN_INTENT to their manifest
Full screen intent is used for incoming call notification
Bug: 132081872 132080738 132114409
Test: Compile and load build
Change-Id: Iec458cef1ff0c5a4180b438b8ba1a5159bdd8e92
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions