Yuito-app-android/app/src/main/AndroidManifest.xml

185 lines
7.6 KiB
XML
Raw Normal View History

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.ACCESS_NETWORK_STATE" />
2017-05-03 20:29:33 +02:00
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE" /> <!-- For notifications -->
<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
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"
android:theme="@style/TuskyTheme"
android:usesCleartextTraffic="false">
2017-05-03 20:29:33 +02:00
<activity
android:name=".components.login.LoginActivity"
2017-05-03 20:29:33 +02:00
android:windowSoftInputMode="adjustResize">
</activity>
<activity android:name=".components.login.LoginWebViewActivity" />
2017-05-10 04:36:05 +02:00
<activity
android:name=".MainActivity"
android:configChanges="orientation|screenSize|keyboardHidden|screenLayout|smallestScreenSize"
android:theme="@style/SplashTheme"
android:exported="true">
2017-05-03 20:29:33 +02:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
2017-05-03 20:29:33 +02:00
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
2017-05-03 20:29:33 +02:00
<intent-filter>
<action android:name="android.intent.action.SEND" />
2017-05-03 20:29:33 +02:00
<category android:name="android.intent.category.DEFAULT" />
2017-05-03 20:29:33 +02:00
<data android:mimeType="text/plain" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
2017-05-03 20:29:33 +02:00
<category android:name="android.intent.category.DEFAULT" />
2017-05-03 20:29:33 +02:00
<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="video/*" />
</intent-filter>
2017-05-03 20:29:33 +02:00
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
2017-05-03 20:29:33 +02:00
<category android:name="android.intent.category.DEFAULT" />
2017-05-03 20:29:33 +02:00
<data android:mimeType="image/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="video/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="audio/*" />
</intent-filter>
<meta-data
android:name="android.service.chooser.chooser_target_service"
android:value="androidx.sharetarget.ChooserTargetServiceCompat" />
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/share_shortcuts" />
</activity>
<activity
ComposeActivity refactor (#1541) * Convert ComposeActivity to Kotlin * More ComposeActivity cleanups * Move ComposeActivity to it's own package * Remove ComposeActivity.IntentBuilder * Re-do part of the media downsizing/uploading * Add sending of status to ViewModel, draft media descriptions * Allow uploading video, update description after uploading * Enable camera, enable upload cancelling * Cleanup of ComposeActivity * Extract CaptionDialog, extract ComposeActivity methods * Fix handling of redrafted media * Add initial state and media uploading out of Activity * Change ComposeOptions.mentionedUsernames to be Set rather than List We probably don't want repeated usernames when we are writing a post and Set provides such guarantee for free plus it tells it to the callers. The only disadvantage is lack of order but it shouldn't be a problem. * Add combineOptionalLiveData. Add docs. It it useful for nullable LiveData's. I think we cannot differentiate between value not being set and value being null so I just added the variant without null check. * Add poll support to Compose. * cleanup code * move more classes into compose package * cleanup code * fix button behavior * add error handling for media upload * add caching for instance data again * merge develop * fix scheduled toots * delete unused string * cleanup ComposeActivity * fix restoring media from drafts * make media upload code a little bit clearer * cleanup autocomplete search code * avoid duplicate object creation in SavedTootActivity * perf: avoid unnecessary work when initializing ComposeActivity * add license header to new files * use small toot button on bigger displays * fix ComposeActivityTest * fix bad merge * use Singles.zip instead of Single.zip
2019-12-19 19:09:40 +01:00
android:name=".components.compose.ComposeActivity"
android:theme="@style/TuskyDialogActivityTheme"
android:windowSoftInputMode="stateVisible|adjustResize" />
<activity
android:name=".ViewThreadActivity"
android:configChanges="orientation|screenSize" />
<activity
android:name=".ViewMediaActivity"
android:theme="@style/TuskyBaseTheme" />
<activity
android:name=".components.account.AccountActivity"
android:configChanges="orientation|screenSize|keyboardHidden|screenLayout|smallestScreenSize" />
2017-05-03 20:29:33 +02:00
<activity android:name=".EditProfileActivity" />
<activity android:name=".components.preference.PreferencesActivity" />
<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" />
<activity android:name=".TabPreferenceActivity" />
2017-05-03 20:29:33 +02:00
<activity
android:name="com.canhub.cropper.CropImageActivity"
2017-05-03 20:29:33 +02:00
android:theme="@style/Base.Theme.AppCompat" />
<activity
android:name=".components.search.SearchActivity"
android:launchMode="singleTop"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="@xml/searchable" />
</activity>
2018-01-06 19:01:37 +01:00
<activity android:name=".ListsActivity" />
<activity android:name=".LicenseActivity" />
<activity android:name=".FiltersActivity" />
<activity
android:name=".components.report.ReportActivity"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" />
<activity android:name=".components.instancemute.InstanceListActivity" />
<activity android:name=".components.scheduled.ScheduledStatusActivity" />
<activity android:name=".components.announcements.AnnouncementsActivity" />
<activity android:name=".components.drafts.DraftsActivity" />
2017-05-03 20:29:33 +02:00
<receiver android:name=".receiver.NotificationClearBroadcastReceiver"
android:exported="false" />
<receiver
android:name=".receiver.SendStatusBroadcastReceiver"
android:enabled="true"
android:exported="false" />
2017-05-03 20:29:33 +02:00
<service
android:name=".service.TuskyTileService"
android:icon="@drawable/ic_tusky"
android:label="@string/tusky_compose_post_quicksetting_label"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
android:exported="true"
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>
<service android:name=".service.SendStatusService"
android:exported="false" />
2017-05-03 20:29:33 +02:00
<provider
android:name="androidx.core.content.FileProvider"
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>
2018-11-07 13:38:11 +01:00
<!-- disable automatic WorkManager initialization -->
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
android:exported="false"
tools:node="merge">
<meta-data
android:name="androidx.work.WorkManagerInitializer"
android:value="androidx.startup"
tools:node="remove" />
</provider>
2018-11-07 13:38:11 +01:00
<activity android:name="net.accelf.yuito.AccessTokenLoginActivity" />
2017-05-03 20:29:33 +02:00
</application>
</manifest>