diff options
author | Makoto Onuki <omakoto@google.com> | 2017-02-22 11:15:04 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2017-02-22 11:15:04 -0800 |
commit | 343f231980f4f4035b18e0402cb07d3523de0db4 (patch) | |
tree | 6f91913950160b002c111cd56dca5627ddd15dc7 /tests | |
parent | fe7246b58aefe19a9e46f61f38a5a37b208d1561 (diff) | |
download | ContactsProvider-343f231980f4f4035b18e0402cb07d3523de0db4.tar.gz |
Some cleanup for CP2
- Get ContactDirectoryManager's debug flag from sys prop.
- Introduce a debug sys prop to all scan directories.
- Some clean up for voicemail provider too
ContentProvider.getCallingPackage() didn't used to exist, so it has
custom code for that. Now we can just use getCallingPackage().
Test: adb shell am instrument -w com.android.providers.contacts.tests
Change-Id: Ic16d598251f4bc0bb84b0b71dac2366f195425fe
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/providers/contacts/BaseVoicemailProviderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/providers/contacts/BaseVoicemailProviderTest.java b/tests/src/com/android/providers/contacts/BaseVoicemailProviderTest.java index e70492d3..f19f9bec 100644 --- a/tests/src/com/android/providers/contacts/BaseVoicemailProviderTest.java +++ b/tests/src/com/android/providers/contacts/BaseVoicemailProviderTest.java @@ -189,7 +189,7 @@ public abstract class BaseVoicemailProviderTest extends BaseContactsProvider2Tes } @Override - protected String getCallingPackage_() { + protected String getInjectedCallingPackage() { return getContext().getPackageName(); } |