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"
|
2022-05-17 19:55:46 +02:00
|
|
|
android:appCategory="social"
|
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">
|
2019-07-19 20:10:20 +02:00
|
|
|
|
2022-04-13 19:22:01 +02:00
|
|
|
<activity
|
|
|
|
android:name=".SplashActivity"
|
|
|
|
android:theme="@style/SplashTheme"
|
|
|
|
android:exported="true">
|
|
|
|
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
|
|
|
|
|
|
|
<meta-data
|
|
|
|
android:name="android.app.shortcuts"
|
|
|
|
android:resource="@xml/share_shortcuts" />
|
|
|
|
|
|
|
|
</activity>
|
2017-05-03 20:29:33 +02:00
|
|
|
<activity
|
2022-03-08 21:22:19 +01:00
|
|
|
android:name=".components.login.LoginActivity"
|
2017-05-03 20:29:33 +02:00
|
|
|
android:windowSoftInputMode="adjustResize">
|
|
|
|
</activity>
|
2022-03-08 21:22:19 +01:00
|
|
|
<activity android:name=".components.login.LoginWebViewActivity" />
|
2017-05-03 20:29:33 +02:00
|
|
|
<activity
|
2017-05-03 22:28:46 +02:00
|
|
|
android:name=".MainActivity"
|
2022-03-09 20:50:23 +01:00
|
|
|
android:configChanges="orientation|screenSize|keyboardHidden|screenLayout|smallestScreenSize"
|
|
|
|
android:exported="true">
|
|
|
|
|
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" />
|
2019-07-19 20:10:20 +02:00
|
|
|
<activity
|
|
|
|
android:name=".ViewMediaActivity"
|
|
|
|
android:theme="@style/TuskyBaseTheme" />
|
|
|
|
<activity
|
2022-01-11 19:55:17 +01:00
|
|
|
android:name=".components.account.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"
|
2022-03-09 20:50:23 +01:00
|
|
|
android:launchMode="singleTop"
|
|
|
|
android:exported="false">
|
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" />
|
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" />
|
2022-03-20 20:21:42 +01:00
|
|
|
<activity android:name=".components.scheduled.ScheduledStatusActivity" />
|
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
|
|
|
|
2022-03-09 20:50:23 +01:00
|
|
|
<receiver android:name=".receiver.NotificationClearBroadcastReceiver"
|
|
|
|
android:exported="false" />
|
2018-05-06 11:07:10 +02:00
|
|
|
<receiver
|
|
|
|
android:name=".receiver.SendStatusBroadcastReceiver"
|
|
|
|
android:enabled="true"
|
|
|
|
android:exported="false" />
|
2022-05-17 19:32:09 +02:00
|
|
|
<receiver
|
|
|
|
android:exported="true"
|
|
|
|
android:enabled="true"
|
|
|
|
android:name=".receiver.UnifiedPushBroadcastReceiver"
|
|
|
|
tools:ignore="ExportedReceiver">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.unifiedpush.android.connector.MESSAGE"/>
|
|
|
|
<action android:name="org.unifiedpush.android.connector.UNREGISTERED"/>
|
|
|
|
<action android:name="org.unifiedpush.android.connector.NEW_ENDPOINT"/>
|
|
|
|
<action android:name="org.unifiedpush.android.connector.REGISTRATION_FAILED"/>
|
|
|
|
<action android:name="org.unifiedpush.android.connector.REGISTRATION_REFUSED"/>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
<receiver
|
|
|
|
android:exported="true"
|
|
|
|
android:enabled="true"
|
|
|
|
android:name=".receiver.NotificationBlockStateBroadcastReceiver"
|
|
|
|
tools:ignore="ExportedReceiver">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.app.action.NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED"/>
|
|
|
|
<action android:name="android.app.action.NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED"/>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2018-05-06 11:07:10 +02:00
|
|
|
|
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"
|
2022-03-20 20:21:42 +01:00
|
|
|
android:label="@string/tusky_compose_post_quicksetting_label"
|
2019-07-19 20:10:20 +02:00
|
|
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
|
2022-03-09 20:50:23 +01:00
|
|
|
android:exported="true"
|
2019-07-19 20:10:20 +02:00
|
|
|
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
|
|
|
|
2022-03-20 20:21:42 +01:00
|
|
|
<service android:name=".service.SendStatusService"
|
2022-03-09 20:50:23 +01:00
|
|
|
android:exported="false" />
|
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
|
2022-03-09 20:50:23 +01:00
|
|
|
android:name="androidx.startup.InitializationProvider"
|
|
|
|
android:authorities="${applicationId}.androidx-startup"
|
2020-05-12 18:46:49 +02:00
|
|
|
android:exported="false"
|
2022-03-09 20:50:23 +01:00
|
|
|
tools:node="merge">
|
|
|
|
<meta-data
|
|
|
|
android:name="androidx.work.WorkManagerInitializer"
|
|
|
|
android:value="androidx.startup"
|
|
|
|
tools:node="remove" />
|
|
|
|
</provider>
|
|
|
|
|
2017-05-03 20:29:33 +02:00
|
|
|
</application>
|
|
|
|
|
2020-11-18 21:12:27 +01:00
|
|
|
</manifest>
|