SubwayTooter-Android-App/app/src/main/AndroidManifest.xml

224 lines
8.2 KiB
XML
Raw Normal View History

2017-04-20 18:23:59 +02:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="jp.juggler.subwaytooter">
<uses-permission android:name="android.permission.INTERNET"/>
2017-04-29 22:51:04 +02:00
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
2017-04-20 18:23:59 +02:00
<application
android:name=".App1"
2017-04-20 18:23:59 +02:00
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
2017-04-27 11:15:14 +02:00
android:theme="@style/AppTheme.Light"
2017-05-15 15:15:00 +02:00
android:largeHeap="true"
android:fullBackupContent="@xml/backup_spec"
2017-04-20 18:23:59 +02:00
>
<receiver android:name=".AlarmReceiver">
<intent-filter>
2017-04-29 22:51:04 +02:00
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.ACTION_MY_PACKAGE_REPLACED"/>
</intent-filter>
</receiver>
2017-04-29 22:51:04 +02:00
<service android:name=".AlarmService"/>
2017-04-20 18:23:59 +02:00
<activity
android:name=".ActMain"
android:label="@string/app_name"
android:launchMode="singleTask"
2017-04-27 11:15:14 +02:00
android:windowSoftInputMode="adjustResize|stateAlwaysHidden"
2017-04-20 18:23:59 +02:00
>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
2017-04-29 22:51:04 +02:00
<activity
android:name=".ActCallback"
2017-04-29 22:51:04 +02:00
android:label="@string/app_name"
>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data
android:host="oauth"
android:scheme="subwaytooter"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
2017-05-06 08:10:05 +02:00
<data
android:host="*"
android:pathPrefix="/@"
android:scheme="https"/>
</intent-filter>
2017-06-09 16:21:05 +02:00
<!-- https://mstdn.kemono-friends.info/users/tocchi/updates/695489 -->
<!-- URLの数字部分はstatus_id「ではない」ようだ。謎なのでまだ対応できない。。。 -->
<!--<intent-filter>-->
<!--<action android:name="android.intent.action.VIEW"/>-->
<!--<category android:name="android.intent.category.DEFAULT"/>-->
<!--<category android:name="android.intent.category.BROWSABLE"/>-->
<!--<data-->
<!--android:host="*"-->
<!--android:pathPrefix="/users/"-->
<!--android:scheme="https"/>-->
<!--</intent-filter>-->
2017-05-06 08:10:05 +02:00
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="image/*"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/plain"/>
</intent-filter>
2017-05-06 08:10:05 +02:00
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="image/*"/>
</intent-filter>
2017-04-29 22:51:04 +02:00
</activity>
<activity
android:name=".ActPost"
android:label="@string/act_post"
2017-04-27 11:15:14 +02:00
android:windowSoftInputMode="adjustResize"
/>
<activity
android:name=".ActAccountSetting"
android:label="@string/account_setting"
2017-04-27 11:15:14 +02:00
android:windowSoftInputMode="adjustResize"
/>
<activity
android:name=".ActAppSetting"
android:label="@string/app_setting"
2017-04-27 11:15:14 +02:00
android:windowSoftInputMode="adjustResize|stateAlwaysHidden"
/>
<activity
android:name=".ActColumnList"
android:label="@string/column_list"
2017-04-27 11:15:14 +02:00
android:windowSoftInputMode="adjustResize"
/>
<activity
android:name=".ActAbout"
android:label="@string/app_about"
2017-04-27 11:15:14 +02:00
/>
<activity
android:name=".ActOSSLicense"
android:label="@string/oss_license"
2017-04-27 11:15:14 +02:00
/>
<activity
2017-04-29 22:51:04 +02:00
android:name=".ActMutedApp"
android:label="@string/muted_app"
/>
2017-05-08 03:16:43 +02:00
<activity
android:name=".ActMutedWord"
android:label="@string/muted_word"
/>
<activity
android:name=".ActColumnCustomize"
android:label="@string/color_and_background"
2017-05-15 15:15:00 +02:00
android:windowSoftInputMode="adjustResize|stateAlwaysHidden"
2017-04-29 22:51:04 +02:00
/>
<activity
android:name=".ActNickname"
android:label="@string/nickname_and_color"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden"
/>
<activity
android:name=".ActCustomStreamListener"
android:label="@string/custom_stream_listener"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden"
/>
2017-05-08 03:16:43 +02:00
<activity
android:name=".ActText"
android:label="@string/select_and_copy"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden"
/>
<meta-data
android:name="android.max_aspect"
android:value="ratio_float"/>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="jp.juggler.subwaytooter.FileProvider"
android:grantUriPermissions="true"
android:exported="false">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_provider_path" />
</provider>
<!-- okhttp3クライアントを指定する必要があるため、マニフェスト経由での組み込みは行わない -->
<!--<meta-data-->
<!--android:name="com.bumptech.glide.integration.okhttp3.OkHttpGlideModule"-->
<!--android:value="GlideModule" />-->
<service
android:name=".MyFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<service
android:name=".MyFirebaseInstanceIDService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
</intent-filter>
</service>
<!-- Set custom default icon. This is used when no icon is set for incoming notification messages.
See README(https://goo.gl/l4GJaQ) for more. -->
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_notification" />
<!-- Set color used with incoming notification messages. This is used when no color is set for the incoming
notification message. See README(https://goo.gl/6BKBk7) for more. -->
<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/Light_colorAccent" />
2017-04-20 18:23:59 +02:00
</application>
</manifest>