To read the Group UUID, the Caller must also have the...
To read the Group UUID, the Caller must also have the USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER permission. If the app has only the READ_PHONE_STATE permission, it can no longer read the group UUID. When SubscriptionManager#getSubscriptionsInGroup is called, check if the caller has the USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER permission. Bug: b/213902861 Test: atest SubscriptionManagerTest, SubscriptionControllerTest Test: Manual 1. Install app-debug.apk from comment#9 2. Enter the group uuid from comment#3 3. Check securityException has occurred. Change-Id: Iaa54936797204f9b2ed2ad7f63b8b6d7b71116f2
Loading
Please register or sign in to comment