2015-07-09 15:36:42 +09:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-05-28 11:17:41 -07:00
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="com.android.mtp"
|
|
|
|
android:sharedUserId="android.media">
|
2015-07-27 16:47:46 +09:00
|
|
|
<uses-feature android:name="android.hardware.usb.host" />
|
2015-12-08 09:51:19 +09:00
|
|
|
<uses-permission android:name="android.permission.MANAGE_USB" />
|
2015-05-28 11:17:41 -07:00
|
|
|
<application android:label="@string/app_label">
|
|
|
|
<provider
|
|
|
|
android:name=".MtpDocumentsProvider"
|
|
|
|
android:authorities="com.android.mtp.documents"
|
|
|
|
android:grantUriPermissions="true"
|
|
|
|
android:exported="true"
|
2015-12-09 10:04:13 +09:00
|
|
|
android:permission="android.permission.MANAGE_DOCUMENTS">
|
2015-05-28 11:17:41 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
|
|
|
|
</intent-filter>
|
|
|
|
</provider>
|
2016-03-23 11:07:29 +09:00
|
|
|
|
2015-12-07 10:52:42 +09:00
|
|
|
<service android:name=".MtpDocumentsService" />
|
2016-01-18 18:05:17 +09:00
|
|
|
|
|
|
|
<activity android:name=".ReceiverActivity"
|
2016-03-23 11:07:29 +09:00
|
|
|
android:label="@string/downloads_app_label"
|
|
|
|
android:icon="@mipmap/ic_launcher_download"
|
2016-01-18 18:05:17 +09:00
|
|
|
android:theme="@android:style/Theme.NoDisplay"
|
|
|
|
android:excludeFromRecents="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
|
|
|
|
android:resource="@xml/device_filter" />
|
|
|
|
</activity>
|
|
|
|
|
2015-12-07 10:52:42 +09:00
|
|
|
<receiver android:name=".UsbIntentReceiver" android:exported="true">
|
2015-07-27 16:48:44 +09:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
|
2016-02-01 13:00:31 +09:00
|
|
|
<action android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
|
2015-07-27 16:48:44 +09:00
|
|
|
</intent-filter>
|
|
|
|
<meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
|
2016-01-18 18:05:17 +09:00
|
|
|
android:resource="@xml/device_filter" />
|
2015-12-07 10:52:42 +09:00
|
|
|
</receiver>
|
2015-05-28 11:17:41 -07:00
|
|
|
</application>
|
|
|
|
</manifest>
|