summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2015-03-18 16:36:27 -0700
committerMakoto Onuki <omakoto@google.com>2015-03-30 16:28:57 -0700
commit1076c4946c230612c8eb56dbcdf2e3ca22a624e3 (patch)
tree95fb0cc1d2d70902b33e05b67be7b8020c4c44e3 /tests
parent889f3c72bf043fe0b289c9a5f4f445ebbb0aaf0e (diff)
downloadpackages_providers_ContactsProvider-1076c4946c230612c8eb56dbcdf2e3ca22a624e3.zip
packages_providers_ContactsProvider-1076c4946c230612c8eb56dbcdf2e3ca22a624e3.tar.gz
packages_providers_ContactsProvider-1076c4946c230612c8eb56dbcdf2e3ca22a624e3.tar.bz2
Enterprise quick contact 2/2
Now openQuickContact goes thorough DPM. When a lookup URI is build with a lookup key returned by the enterprise lookup APIs for a corp contact, the lookup key will have a special prefix. DPM checks it and launches QC on the work profile, if the policy allows it. Design doc: go/cp2-mnc-enterprise-dd Bug 19546108 Change-Id: Iccba8254269180281af0154f4b9c20cbfff5c27d
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/providers/contacts/ContactsProvider2Test.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/providers/contacts/ContactsProvider2Test.java b/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
index 6a175ed..0e3c68b 100644
--- a/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
+++ b/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
@@ -2024,7 +2024,7 @@ public class ContactsProvider2Test extends BaseContactsProvider2Test {
rewritten.moveToNext();
column = 0;
assertEquals(1000000010L, rewritten.getLong(column++)); // With offset.
- assertEquals("key", rewritten.getString(column++));
+ assertEquals("c-key", rewritten.getString(column++));
assertEquals("name", rewritten.getString(column++));
assertEquals(123, rewritten.getInt(column++));
assertEquals(456, rewritten.getInt(column++));