forked from mirrors/Fedilab
188 lines
No EOL
8 KiB
XML
188 lines
No EOL
8 KiB
XML
<?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="app.fedilab.android">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission
|
|
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
tools:ignore="ScopedStorage" />
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
|
|
<application
|
|
android:name=".MainApplication"
|
|
tools:replace="android:allowBackup"
|
|
android:allowBackup="false"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:usesCleartextTraffic="true"
|
|
android:label="@string/app_name"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme"
|
|
>
|
|
<activity
|
|
android:name=".activities.MainActivity"
|
|
android:exported="true"
|
|
>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:exported="true"
|
|
android:name=".activities.LoginActivity"
|
|
android:configChanges="orientation|screenSize"
|
|
android:windowSoftInputMode="stateAlwaysHidden">
|
|
<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="backtofedilab"
|
|
android:scheme="fedilab" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.WebviewConnectActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize" />
|
|
<activity
|
|
android:name=".activities.ContextActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize" />
|
|
<activity
|
|
android:name=".activities.DraftActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize" />
|
|
<activity
|
|
android:name=".activities.ComposeActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:windowSoftInputMode="stateVisible"
|
|
android:label="@string/compose" />
|
|
<activity
|
|
android:name=".activities.StatusInfoActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize" />
|
|
<activity
|
|
android:name=".activities.WebviewActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize" />
|
|
<activity
|
|
android:name=".activities.ProfileActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:label="@string/account" />
|
|
<activity
|
|
android:name=".activities.ScheduledActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:label="@string/scheduled" />
|
|
|
|
<service
|
|
android:name=".services.PostMessageService"
|
|
android:label="@string/post_message" />
|
|
|
|
<activity
|
|
android:name=".activities.SearchResultTabActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:theme="@style/AppThemeBar"
|
|
android:label="@string/search" />
|
|
<activity
|
|
android:name=".activities.ReorderTimelinesActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:label="@string/reorder_timelines"
|
|
android:theme="@style/AppThemeBar" />
|
|
|
|
<activity
|
|
android:name=".activities.ActionActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:label="@string/interactions"
|
|
android:theme="@style/AppThemeBar" />
|
|
<activity
|
|
android:name=".activities.MastodonListActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:label="@string/action_lists"
|
|
android:theme="@style/AppThemeBar" />
|
|
<activity
|
|
android:name=".activities.SettingsActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:label="@string/settings"
|
|
android:theme="@style/AppThemeBar" />
|
|
<activity
|
|
android:name=".activities.InstanceActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:label="@string/action_about_instance"
|
|
android:theme="@style/DialogDark" />
|
|
<activity
|
|
android:name=".activities.InstanceProfileActivity"
|
|
android:excludeFromRecents="true"
|
|
android:theme="@style/DialogDark" />
|
|
<activity
|
|
android:name=".activities.ProxyActivity"
|
|
android:excludeFromRecents="true"
|
|
android:theme="@style/DialogDark" />
|
|
<activity
|
|
android:name=".activities.HashTagActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize" />
|
|
<activity
|
|
android:name=".activities.MediaActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:theme="@style/TransparentDark" />
|
|
|
|
<activity
|
|
android:name=".activities.InstanceHealthActivity"
|
|
android:excludeFromRecents="true"
|
|
android:theme="@style/DialogDark" />
|
|
|
|
<activity
|
|
android:name=".activities.ReportActivity"
|
|
android:theme="@style/AppThemeBarDark"
|
|
android:windowSoftInputMode="stateVisible" />
|
|
|
|
<activity
|
|
android:name=".activities.CustomSharingActivity"
|
|
android:label="@string/settings_title_custom_sharing"
|
|
android:windowSoftInputMode="stateVisible"
|
|
android:theme="@style/AppThemeBarDark" />
|
|
<activity
|
|
android:name=".activities.FilterActivity"
|
|
android:label="@string/filters"
|
|
android:theme="@style/AppThemeBarDark"
|
|
android:windowSoftInputMode="stateVisible" />
|
|
<activity
|
|
android:name=".activities.EditProfileActivity"
|
|
android:label="@string/edit_profile"
|
|
android:theme="@style/AppThemeBarDark"
|
|
android:windowSoftInputMode="stateVisible" />
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="${applicationId}.fileProvider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/file_paths" />
|
|
</provider>
|
|
|
|
<receiver
|
|
android:name=".broadcastreceiver.ToastMessage"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="RECEIVE_TOAST_MESSAGE" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver
|
|
android:name=".services.CustomReceiver"
|
|
android:enabled="true"
|
|
android:exported="true">
|
|
<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>
|
|
</application>
|
|
</manifest> |