Daichi Hirono | 9a05d6b | 2015-07-09 15:36:42 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Daichi Hirono | c00d5d4 | 2015-05-28 11:17:41 -0700 | [diff] [blame] | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | package="com.android.mtp" |
| 4 | android:sharedUserId="android.media"> |
Daichi Hirono | 2efe4ca | 2015-07-27 16:47:46 +0900 | [diff] [blame] | 5 | <uses-feature android:name="android.hardware.usb.host" /> |
Daichi Hirono | 4751880 | 2015-12-08 09:51:19 +0900 | [diff] [blame^] | 6 | <uses-permission android:name="android.permission.MANAGE_USB" /> |
Daichi Hirono | c00d5d4 | 2015-05-28 11:17:41 -0700 | [diff] [blame] | 7 | <application android:label="@string/app_label"> |
| 8 | <provider |
| 9 | android:name=".MtpDocumentsProvider" |
| 10 | android:authorities="com.android.mtp.documents" |
| 11 | android:grantUriPermissions="true" |
| 12 | android:exported="true" |
| 13 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 14 | android:enabled="false"> |
| 15 | <intent-filter> |
| 16 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 17 | </intent-filter> |
| 18 | </provider> |
Daichi Hirono | a57d9ed | 2015-12-07 10:52:42 +0900 | [diff] [blame] | 19 | <service android:name=".MtpDocumentsService" /> |
| 20 | <receiver android:name=".UsbIntentReceiver" android:exported="true"> |
Daichi Hirono | df3f2e6 | 2015-07-27 16:48:44 +0900 | [diff] [blame] | 21 | <intent-filter> |
| 22 | <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" /> |
Daichi Hirono | a57d9ed | 2015-12-07 10:52:42 +0900 | [diff] [blame] | 23 | <action android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" /> |
Daichi Hirono | df3f2e6 | 2015-07-27 16:48:44 +0900 | [diff] [blame] | 24 | </intent-filter> |
| 25 | <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" |
Daichi Hirono | a57d9ed | 2015-12-07 10:52:42 +0900 | [diff] [blame] | 26 | android:resource="@xml/device_filter" /> |
| 27 | </receiver> |
Daichi Hirono | c00d5d4 | 2015-05-28 11:17:41 -0700 | [diff] [blame] | 28 | </application> |
| 29 | </manifest> |