From bab130fb27948719cf6600ff22a10b19f78001df Mon Sep 17 00:00:00 2001 From: Ta-wei Yen Date: Wed, 16 Mar 2016 18:17:43 -0700 Subject: Rename provider authority for AOSP Dialer Authority name clash is preventing GoogleDialer from installing over AOSP dialer Authority for FileProvider is put in donottranslate_config.xml because it need to be shared with ContactsCommon Bug:27685485 Change-Id: I45a51639a85a00f58385e08221cb100ac66c2069 --- src/com/android/dialer/database/VoicemailArchiveContract.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/com/android/dialer') diff --git a/src/com/android/dialer/database/VoicemailArchiveContract.java b/src/com/android/dialer/database/VoicemailArchiveContract.java index 92d9c17ef..f332932c3 100644 --- a/src/com/android/dialer/database/VoicemailArchiveContract.java +++ b/src/com/android/dialer/database/VoicemailArchiveContract.java @@ -21,6 +21,8 @@ import android.provider.BaseColumns; import android.provider.CallLog; import android.provider.OpenableColumns; +import com.android.dialerbind.ObjectFactory; + /** * Contains definitions for the supported URIs and columns for the voicemail archive table. * All the fields excluding MIME_TYPE, _DATA, ARCHIVED, SERVER_ID, mirror the fields in the @@ -29,7 +31,7 @@ import android.provider.OpenableColumns; public final class VoicemailArchiveContract { /** The authority used by the voicemail archive provider. */ - public static final String AUTHORITY = "com.android.dialer.database.voicemailarchiveprovider"; + public static final String AUTHORITY = ObjectFactory.getVoicemailArchiveProviderAuthority(); /** A content:// style uri for the voicemail archive provider */ public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY); -- cgit v1.2.3