Media provider now needs ACCESS_MTP permission instead of ACCESS_USB
Since the "usb" group and ACCESS_USB permission will be used by regular apps
to access USB devices in host mode, we need a separate permission for the
device side MTP driver.
Change-Id: I10a7544b464c4a8cea3a40c3a1f82f3cd418ca17
Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index fe7032f..3580247 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -8,7 +8,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
- <uses-permission android:name="android.permission.ACCESS_USB" />
+ <uses-permission android:name="android.permission.ACCESS_MTP" />
<application android:process="android.process.media"
android:label="@string/app_label">