Add fields for PhoneAccountHandle without IccIds in T
Before Android 13, PhoneAccountHandle#getId() returns the ICCID for Telephony PhoneAccountHandle. Starting from Android 13, PhoneAccountHandle#getId() returns the on-device Subscription ID for Telephony PhoneAccountHandle. This need to migrate the PhoneAccountHandle ID stored in CalllogProvider and ContactsProvider. Adding these fields to help migrate the ID when it is stored in the device, and back-up/restored through the cloud. Bug: 185235527 Test: atest ContactsProvider2Test; atest CallLogProviderTest Change-Id: I417f211413cf92a2757899360d6905d0d50064ec
Loading
Please register or sign in to comment