grant url permission for content://mms/drm, so clicking on a purchased content in mms app doesn't crash.
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 33e4a8d..41190eb 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -16,24 +16,36 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.providers.telephony"
- android:sharedUserId="android.uid.phone"
->
+ android:sharedUserId="android.uid.phone">
<application android:process="com.android.phone"
android:allowClearUserData="false"
android:label="@string/app_label"
android:icon="@drawable/ic_launcher_phone">
- <provider android:name="TelephonyProvider" android:authorities="telephony" android:multiprocess="true" />
- <provider android:name="SmsProvider" android:authorities="sms" android:multiprocess="true"
- android:readPermission="android.permission.READ_SMS"
- android:writePermission="android.permission.WRITE_SMS" />
- <provider android:name="MmsProvider" android:authorities="mms" android:multiprocess="true"
- android:readPermission="android.permission.READ_SMS"
- android:writePermission="android.permission.WRITE_SMS">
+
+ <provider android:name="TelephonyProvider"
+ android:authorities="telephony"
+ android:multiprocess="true" />
+
+ <provider android:name="SmsProvider"
+ android:authorities="sms"
+ android:multiprocess="true"
+ android:readPermission="android.permission.READ_SMS"
+ android:writePermission="android.permission.WRITE_SMS" />
+
+ <provider android:name="MmsProvider"
+ android:authorities="mms"
+ android:multiprocess="true"
+ android:readPermission="android.permission.READ_SMS"
+ android:writePermission="android.permission.WRITE_SMS">
<grant-uri-permission android:pathPrefix="/part/" />
+ <grant-uri-permission android:pathPrefix="/drm/" />
</provider>
- <provider android:name="MmsSmsProvider" android:authorities="mms-sms" android:multiprocess="true"
- android:readPermission="android.permission.READ_SMS"
- android:writePermission="android.permission.WRITE_SMS" />
+
+ <provider android:name="MmsSmsProvider"
+ android:authorities="mms-sms"
+ android:multiprocess="true"
+ android:readPermission="android.permission.READ_SMS"
+ android:writePermission="android.permission.WRITE_SMS" />
</application>
</manifest>