2017-05-03 20:29:33 +02: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"
|
|
|
|
package="com.keylesspalace.tusky">
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
2017-07-18 21:32:43 +02:00
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
2018-09-19 22:36:46 +02:00
|
|
|
<uses-permission android:name="android.permission.VIBRATE" /> <!-- For notifications -->
|
2019-07-19 20:10:20 +02:00
|
|
|
<uses-permission
|
|
|
|
android:name="android.permission.ACCESS_COARSE_LOCATION"
|
|
|
|
android:maxSdkVersion="22" /> <!-- for day/night mode -->
|
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
2018-01-31 22:24:08 +01:00
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
<application
|
2019-07-19 20:10:20 +02:00
|
|
|
android:name=".TuskyApplication"
|
2018-04-28 21:19:23 +02:00
|
|
|
android:allowBackup="false"
|
2017-05-03 20:29:33 +02:00
|
|
|
android:icon="@mipmap/ic_launcher"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:supportsRtl="true"
|
2019-07-27 21:51:50 +02:00
|
|
|
android:theme="@style/TuskyTheme"
|
|
|
|
android:usesCleartextTraffic="false">
|
2017-05-10 04:36:05 +02:00
|
|
|
<activity
|
|
|
|
android:name=".SplashActivity"
|
|
|
|
android:theme="@style/SplashTheme">
|
2017-05-03 20:29:33 +02:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2019-03-30 15:19:02 +01:00
|
|
|
<meta-data
|
|
|
|
android:name="android.app.shortcuts"
|
2019-10-22 21:18:20 +02:00
|
|
|
android:resource="@xml/share_shortcuts" />
|
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name=".LoginActivity"
|
|
|
|
android:windowSoftInputMode="adjustResize">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
|
|
|
|
<data
|
2017-12-08 12:15:46 +01:00
|
|
|
android:host="${applicationId}"
|
2017-05-03 20:29:33 +02:00
|
|
|
android:scheme="@string/oauth_scheme" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
<activity
|
2017-05-03 22:28:46 +02:00
|
|
|
android:name=".MainActivity"
|
2019-10-22 21:18:20 +02:00
|
|
|
android:configChanges="orientation|screenSize|keyboardHidden|screenLayout|smallestScreenSize">
|
2017-05-03 20:29:33 +02:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEND" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
<data android:mimeType="text/plain" />
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEND" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
<data android:mimeType="image/*" />
|
|
|
|
</intent-filter>
|
2018-09-28 17:11:32 +02:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEND" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2018-09-28 17:11:32 +02:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2018-09-28 17:11:32 +02:00
|
|
|
<data android:mimeType="video/*" />
|
|
|
|
</intent-filter>
|
2017-05-03 20:29:33 +02:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEND_MULTIPLE" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
<data android:mimeType="image/*" />
|
|
|
|
</intent-filter>
|
2018-09-28 17:11:32 +02:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEND_MULTIPLE" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2018-09-28 17:11:32 +02:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2018-09-28 17:11:32 +02:00
|
|
|
<data android:mimeType="video/*" />
|
|
|
|
</intent-filter>
|
2020-01-16 19:05:52 +01:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEND" />
|
|
|
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
|
|
|
<data android:mimeType="audio/*" />
|
|
|
|
</intent-filter>
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2019-02-06 10:23:02 +01:00
|
|
|
<meta-data
|
|
|
|
android:name="android.service.chooser.chooser_target_service"
|
2019-10-22 21:18:20 +02:00
|
|
|
android:value="androidx.sharetarget.ChooserTargetServiceCompat" />
|
|
|
|
|
2019-02-06 10:23:02 +01:00
|
|
|
</activity>
|
|
|
|
<activity
|
2019-12-19 19:09:40 +01:00
|
|
|
android:name=".components.compose.ComposeActivity"
|
2019-02-06 10:23:02 +01:00
|
|
|
android:theme="@style/TuskyDialogActivityTheme"
|
2020-11-18 21:12:27 +01:00
|
|
|
android:windowSoftInputMode="stateVisible|adjustResize" />
|
2017-05-03 22:28:46 +02:00
|
|
|
<activity
|
|
|
|
android:name=".ViewThreadActivity"
|
|
|
|
android:configChanges="orientation|screenSize" />
|
2017-05-03 20:29:33 +02:00
|
|
|
<activity android:name=".ViewTagActivity" />
|
2019-07-19 20:10:20 +02:00
|
|
|
<activity
|
|
|
|
android:name=".ViewMediaActivity"
|
|
|
|
android:theme="@style/TuskyBaseTheme" />
|
|
|
|
<activity
|
|
|
|
android:name=".AccountActivity"
|
2019-10-22 21:18:20 +02:00
|
|
|
android:configChanges="orientation|screenSize|keyboardHidden|screenLayout|smallestScreenSize" />
|
2017-05-03 20:29:33 +02:00
|
|
|
<activity android:name=".EditProfileActivity" />
|
2020-09-02 12:27:51 +02:00
|
|
|
<activity android:name=".components.preference.PreferencesActivity" />
|
2019-11-19 10:15:32 +01:00
|
|
|
<activity android:name=".StatusListActivity" />
|
2017-05-03 20:29:33 +02:00
|
|
|
<activity android:name=".AccountListActivity" />
|
2017-04-15 20:05:25 +02:00
|
|
|
<activity android:name=".AboutActivity" />
|
2019-02-12 19:22:37 +01:00
|
|
|
<activity android:name=".TabPreferenceActivity" />
|
2017-05-03 20:29:33 +02:00
|
|
|
<activity
|
2021-05-21 17:51:47 +02:00
|
|
|
android:name="com.canhub.cropper.CropImageActivity"
|
2017-05-03 20:29:33 +02:00
|
|
|
android:theme="@style/Base.Theme.AppCompat" />
|
2017-06-19 21:47:53 +02:00
|
|
|
<activity
|
2019-07-19 20:10:20 +02:00
|
|
|
android:name=".components.search.SearchActivity"
|
2017-06-19 21:47:53 +02:00
|
|
|
android:launchMode="singleTop">
|
2017-06-19 10:18:39 +02:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEARCH" />
|
|
|
|
</intent-filter>
|
2019-07-19 20:10:20 +02:00
|
|
|
|
|
|
|
<meta-data
|
|
|
|
android:name="android.app.searchable"
|
|
|
|
android:resource="@xml/searchable" />
|
2017-06-19 10:18:39 +02:00
|
|
|
</activity>
|
2018-01-06 19:01:37 +01:00
|
|
|
<activity android:name=".ListsActivity" />
|
|
|
|
<activity android:name=".ModalTimelineActivity" />
|
2018-06-25 13:02:34 +02:00
|
|
|
<activity android:name=".LicenseActivity" />
|
2019-03-20 19:25:26 +01:00
|
|
|
<activity android:name=".FiltersActivity" />
|
2019-07-19 20:10:20 +02:00
|
|
|
<activity
|
|
|
|
android:name=".components.report.ReportActivity"
|
2019-06-09 16:55:34 +02:00
|
|
|
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" />
|
2019-06-11 15:56:27 +02:00
|
|
|
<activity android:name=".components.instancemute.InstanceListActivity" />
|
2019-12-22 11:47:34 +01:00
|
|
|
<activity android:name=".components.scheduled.ScheduledTootActivity" />
|
2020-11-18 21:12:27 +01:00
|
|
|
<activity android:name=".components.announcements.AnnouncementsActivity" />
|
2021-01-21 18:57:09 +01:00
|
|
|
<activity android:name=".components.drafts.DraftsActivity" />
|
2017-05-03 20:29:33 +02:00
|
|
|
|
2017-05-15 12:05:10 +02:00
|
|
|
<receiver android:name=".receiver.NotificationClearBroadcastReceiver" />
|
2018-05-06 11:07:10 +02:00
|
|
|
<receiver
|
|
|
|
android:name=".receiver.SendStatusBroadcastReceiver"
|
|
|
|
android:enabled="true"
|
|
|
|
android:exported="false" />
|
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
<service
|
2019-07-19 20:10:20 +02:00
|
|
|
android:name=".service.TuskyTileService"
|
2017-12-07 20:21:02 +01:00
|
|
|
android:icon="@drawable/ic_tusky"
|
2017-05-03 20:29:33 +02:00
|
|
|
android:label="Compose Toot"
|
2019-07-19 20:10:20 +02:00
|
|
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
|
|
|
|
tools:targetApi="24">
|
2017-05-03 20:29:33 +02:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
|
|
|
</intent-filter>
|
|
|
|
</service>
|
2019-10-22 21:18:20 +02:00
|
|
|
|
2018-04-13 22:37:21 +02:00
|
|
|
<service android:name=".service.SendTootService" />
|
2017-05-03 20:29:33 +02:00
|
|
|
|
|
|
|
<provider
|
2018-12-17 15:25:35 +01:00
|
|
|
android:name="androidx.core.content.FileProvider"
|
2017-12-08 12:15:46 +01:00
|
|
|
android:authorities="${applicationId}.fileprovider"
|
2017-05-03 20:29:33 +02:00
|
|
|
android:exported="false"
|
|
|
|
android:grantUriPermissions="true">
|
|
|
|
<meta-data
|
|
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
|
|
android:resource="@xml/file_paths" />
|
|
|
|
</provider>
|
2020-05-12 18:46:49 +02:00
|
|
|
|
|
|
|
<!-- disable automatic WorkManager initialization -->
|
|
|
|
<provider
|
|
|
|
android:name="androidx.work.impl.WorkManagerInitializer"
|
|
|
|
android:authorities="${applicationId}.workmanager-init"
|
|
|
|
android:exported="false"
|
2020-11-18 21:12:27 +01:00
|
|
|
tools:node="remove" />
|
2017-05-03 20:29:33 +02:00
|
|
|
</application>
|
|
|
|
|
2020-11-18 21:12:27 +01:00
|
|
|
</manifest>
|