I fixed the authority in Email to point to the EmailProvider's authority, and I added the EmailProvider to the manifest.
This commit is contained in:
parent
f3d5b20236
commit
c5f2a7af76
@ -169,5 +169,11 @@
|
||||
android:grantUriPermissions="true"
|
||||
android:readPermission="com.android.email.permission.READ_ATTACHMENT"
|
||||
/>
|
||||
<provider
|
||||
android:name=".provider.EmailProvider"
|
||||
android:authorities="com.android.email.provider"
|
||||
android:multiprocess="true"
|
||||
android:grantUriPermissions="true"
|
||||
/>
|
||||
</application>
|
||||
</manifest>
|
||||
|
@ -40,7 +40,7 @@ import android.net.Uri;
|
||||
|
||||
public class Email {
|
||||
//private static final String TAG = "Email";
|
||||
public static final String AUTHORITY = "com.marcblank.email.provider";
|
||||
public static final String AUTHORITY = EmailProvider.EMAIL_AUTHORITY;
|
||||
public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user