Skip to content
Commit 0af97c57 authored by Shuo Qian's avatar Shuo Qian Committed by Grace Jia
Browse files

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
parent cca1088b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment