EtchDroid/app/src/main/AndroidManifest.xml

156 lines
6.9 KiB
XML
Raw Normal View History

2018-08-12 14:33:11 +00:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2018-08-15 17:04:45 +00:00
package="eu.depau.etchdroid">
2018-08-12 14:33:11 +00:00
2018-10-01 00:39:48 +00:00
<uses-feature android:name="android.hardware.usb.host"/>
2018-08-13 23:32:02 +00:00
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
2018-08-15 17:06:50 +00:00
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
2018-10-01 00:39:48 +00:00
<uses-permission
android:name="android.permission.READ_PHONE_STATE"
tools:node="remove"/>
2018-08-12 14:33:11 +00:00
<application
android:allowBackup="false"
2018-08-12 14:33:11 +00:00
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
2018-08-12 14:33:11 +00:00
<activity
android:name=".activities.StartActivity"
2018-08-12 14:33:11 +00:00
android:label="@string/app_name"
android:theme="@style/MaterialAppTheme">
2018-08-12 14:33:11 +00:00
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
2018-09-01 23:58:32 +00:00
2018-08-12 14:33:11 +00:00
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity
android:name=".activities.UsbDrivePickerActivity"
android:label="@string/title_activity_usb_drive_picker"
android:parentActivityName=".activities.StartActivity"
android:theme="@style/MaterialAppTheme">
2018-10-01 00:39:48 +00:00
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="eu.depau.etchdroid.activities.StartActivity"/>
2018-10-01 00:39:48 +00:00
<!-- Open ISO files by mimetype -->
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="file"/>
<data android:scheme="content"/>
<data android:mimeType="application/x-iso9660-image"/>
<data android:host="*"/>
</intent-filter>
<!-- Open ISO files by extension -->
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="file"/>
<data android:scheme="content"/>
<data android:mimeType="*/*"/>
<data android:host="*"/>
<!--
Work around Android's ugly primitive PatternMatcher
implementation that can't cope with finding a . early in
the path unless it's explicitly matched.
https://stackoverflow.com/a/31028507/1124621
-->
<data android:pathPattern=".*\\.iso"/>
<data android:pathPattern=".*\\..*\\.iso"/>
<data android:pathPattern=".*\\..*\\..*\\.iso"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.iso"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.iso"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.iso"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.iso"/>
<data android:pathPattern=".*\\.img"/>
<data android:pathPattern=".*\\..*\\.img"/>
<data android:pathPattern=".*\\..*\\..*\\.img"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.img"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.img"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.img"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.img"/>
</intent-filter>
<!-- Open DMG files by mimetype -->
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="file"/>
<data android:scheme="content"/>
<data android:mimeType="application/x-apple-diskimage"/>
<data android:host="*"/>
</intent-filter>
<!-- Open DMG files by extension -->
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="file"/>
<data android:scheme="content"/>
<data android:mimeType="*/*"/>
<data android:host="*"/>
<!--
Work around Android's ugly primitive PatternMatcher
implementation that can't cope with finding a . early in
the path unless it's explicitly matched.
https://stackoverflow.com/a/31028507/1124621
-->
<data android:pathPattern=".*\\.dmg"/>
<data android:pathPattern=".*\\..*\\.dmg"/>
<data android:pathPattern=".*\\..*\\..*\\.dmg"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.dmg"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.dmg"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.dmg"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.dmg"/>
</intent-filter>
</activity>
<activity
android:name=".activities.ConfirmationActivity"
android:label="@string/title_activity_confirmation"
android:parentActivityName=".activities.UsbDrivePickerActivity"
android:theme="@style/MaterialAppTheme">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="eu.depau.etchdroid.activities.UsbDrivePickerActivity"/>
</activity>
2018-08-30 17:10:48 +00:00
2018-09-01 23:58:32 +00:00
<activity
android:name=".activities.ErrorActivity"
2018-10-01 00:39:48 +00:00
android:excludeFromRecents="true"
android:label="@string/write_failed"
2018-09-01 23:58:32 +00:00
android:launchMode="singleTask"
android:taskAffinity=""
>
</activity>
2018-08-30 17:10:48 +00:00
<service
android:name=".services.UsbApiImgWriteService"
android:exported="false"/>
<service
android:name=".services.UsbApiDmgWriteService"
android:exported="false"/>
2018-09-01 23:58:32 +00:00
2018-08-12 14:33:11 +00:00
</application>
</manifest>