diff options
| author | 2022-04-26 13:24:27 +0000 | |
|---|---|---|
| committer | 2022-09-02 11:49:25 +0000 | |
| commit | 9193480176fea6551bca403248458540f1a9831b (patch) | |
| tree | f43e1d491ff0b5fdbd09d5c0eb4e258fc051c368 /libs/androidfw/ResourceTimer.cpp | |
| parent | 68b9dc64c6239d8688b3b964779e8ac1cc34d433 (diff) | |
To read the group UUID, the calling app either needs carrier privileges or the READ_PHONE_STATE permission and access to device identifiers.
If the app has only the READ_PHONE_STATE permission, it can no longer read the group UUID.
When SubscriptionManager#getSubscriptionsInGroup is called, If the calling app has carrier permission or READ_PHONE_STATE permission and access to device identifiers, then returns a list.
If not, it will throw a SecurityException.
Bug: 213902861
Test: atest SubscriptionManagerTest
Test: atest SubscriptionControllerTest
Test: manual (b/213902861#comment54)
Change-Id: I4e764b1a5babfcacf675f6e83d2b1014ec570c1e
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions