diff options
author | Santos Cordon <santoscordon@google.com> | 2015-02-11 22:21:00 -0800 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2015-03-02 11:00:46 -0800 |
commit | 468fc189050b234fa8df7f62af0f7987517ffc35 (patch) | |
tree | c0f263695108f6a4600da64869e7b9b71d76efc5 /tests | |
parent | 6522ca932caf4a4921115a2a3d13068c2357084c (diff) | |
download | packages_providers_ContactsProvider-468fc189050b234fa8df7f62af0f7987517ffc35.zip packages_providers_ContactsProvider-468fc189050b234fa8df7f62af0f7987517ffc35.tar.gz packages_providers_ContactsProvider-468fc189050b234fa8df7f62af0f7987517ffc35.tar.bz2 |
Upgrade calllog DB to use ICC ID & source_phone_number.
To accomodate backup and restore of the call log, we have to convert the
existing sub-ID to an ICC ID. Also, add the source_phone_number to the
list of call log columns.
The ICC ID improves backup and restore because it is persistent across
different devices where a sub ID is not. If the user completely changes
their SIM card, the source_phone_number will be helpful in identifying
that scenario if the user kept their old phone.
Change-Id: Ib35e25216691e580b5ea539929ff16b2e3d30b88
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/providers/contacts/CallLogProviderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/providers/contacts/CallLogProviderTest.java b/tests/src/com/android/providers/contacts/CallLogProviderTest.java index d879dd9..b8233f6 100644 --- a/tests/src/com/android/providers/contacts/CallLogProviderTest.java +++ b/tests/src/com/android/providers/contacts/CallLogProviderTest.java @@ -62,7 +62,7 @@ public class CallLogProviderTest extends BaseContactsProvider2Test { Voicemails.SOURCE_DATA, Voicemails.STATE}; /** Total number of columns exposed by call_log provider. */ - private static final int NUM_CALLLOG_FIELDS = 24; + private static final int NUM_CALLLOG_FIELDS = 25; private CallLogProvider mCallLogProvider; |