mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-07 16:57:11 +01:00
d926fabe09
Updated the "supported links" list in the AndroidManifest.xml to match lemmy instances instead of reddit links. Reference: https://github.com/dessalines/jerboa/blob/main/app/src/main/AndroidManifest.xml
499 lines
24 KiB
XML
499 lines
24 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">
|
|
|
|
<queries>
|
|
<intent>
|
|
<action android:name="android.support.customtabs.action.CustomTabsService" />
|
|
</intent>
|
|
</queries>
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.SET_WALLPAPER" />
|
|
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
|
|
<uses-permission
|
|
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
android:maxSdkVersion="22" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
|
|
<uses-permission-sdk-23
|
|
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
android:maxSdkVersion="28" />
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
|
|
|
|
<application
|
|
android:name=".Infinity"
|
|
android:allowBackup="false"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/application_name"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme"
|
|
android:usesCleartextTraffic="true"
|
|
tools:replace="android:label">
|
|
<activity
|
|
android:name=".activities.HistoryActivity"
|
|
android:exported="false"
|
|
android:label="@string/history_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.PostPollActivity"
|
|
android:label="@string/post_poll_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.EditProfileActivity"
|
|
android:label="@string/edit_profile_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable"
|
|
android:windowSoftInputMode="adjustPan" />
|
|
<activity
|
|
android:name=".activities.WikiActivity"
|
|
android:label="@string/wiki_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.TrendingActivity"
|
|
android:label="@string/trending_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.PostGalleryActivity"
|
|
android:label="@string/post_gallery_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.LockScreenActivity"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".activities.WebViewActivity"
|
|
android:configChanges="orientation|screenSize"
|
|
android:label=""
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".activities.SuicidePreventionActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".activities.MultiredditSelectionActivity"
|
|
android:label="@string/multireddit_selection_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".activities.SearchUsersResultActivity"
|
|
android:label="@string/search_users_result_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".activities.PostFilterUsageListingActivity"
|
|
android:parentActivityName=".activities.SettingsActivity"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".activities.PostFilterPreferenceActivity"
|
|
android:label="@string/post_filter_preference_activity_label"
|
|
android:parentActivityName=".activities.SettingsActivity"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".activities.CustomizePostFilterActivity"
|
|
android:label="@string/customize_post_filter_activity_label"
|
|
android:parentActivityName=".activities.SettingsActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.FetchRandomSubredditOrPostActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".activities.GiveAwardActivity"
|
|
android:label="@string/give_award_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.SelectUserFlairActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.FullMarkdownActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.SubmitCrosspostActivity"
|
|
android:label="@string/submit_crosspost_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
|
|
<service
|
|
android:name=".services.DownloadMediaService"
|
|
android:enabled="true"
|
|
android:exported="false" />
|
|
|
|
<activity
|
|
android:name=".activities.ViewRedditGalleryActivity"
|
|
android:configChanges="orientation|screenSize|layoutDirection"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Draggable" />
|
|
<activity
|
|
android:name=".activities.SendPrivateMessageActivity"
|
|
android:label="@string/send_private_message_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
|
|
<service
|
|
android:name=".services.DownloadRedditVideoService"
|
|
android:enabled="true"
|
|
android:exported="false" />
|
|
|
|
<activity
|
|
android:name=".activities.ViewPrivateMessagesActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.ViewImgurMediaActivity"
|
|
android:configChanges="orientation|screenSize|layoutDirection"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Draggable" />
|
|
<activity
|
|
android:name=".activities.ReportActivity"
|
|
android:label="@string/report_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.SelectedSubredditsAndUsersActivity"
|
|
android:label="@string/selected_subeddits_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.EditMultiRedditActivity"
|
|
android:label="@string/edit_multi_reddit_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.CustomThemePreviewActivity"
|
|
android:label="@string/theme_preview_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.CustomThemeListingActivity"
|
|
android:label="@string/custom_theme_listing_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".activities.CustomizeThemeActivity"
|
|
android:label="@string/customize_theme_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".activities.SubredditMultiselectionActivity"
|
|
android:label="@string/community_multiselection_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.CreateMultiRedditActivity"
|
|
android:label="@string/create_multi_reddit_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.ViewMultiRedditDetailActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.AccountSavedThingActivity"
|
|
android:label="@string/account_saved_thing_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.ShareDataResolverActivity"
|
|
android:exported="true">
|
|
<intent-filter android:label="@string/submit_post">
|
|
<action android:name="android.intent.action.SEND" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="image/*" />
|
|
</intent-filter>
|
|
<intent-filter android:label="@string/submit_post">
|
|
<action android:name="android.intent.action.SEND" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="video/*" />
|
|
</intent-filter>
|
|
<intent-filter android:label="@string/submit_post">
|
|
<action android:name="android.intent.action.SEND" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="text/plain" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.SettingsActivity"
|
|
android:label="@string/settings_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/PreferenceActivityTheme" />
|
|
<activity
|
|
android:name=".activities.InboxActivity"
|
|
android:label="@string/view_message_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.AccountPostsActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.EditCommentActivity"
|
|
android:label="@string/edit_comment_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.EditPostActivity"
|
|
android:label="@string/edit_post_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.FilteredPostsActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.SearchSubredditsResultActivity"
|
|
android:label="@string/search_community_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.LinkResolverActivity"
|
|
android:exported="true">
|
|
<intent-filter android:label="@string/handle_link">
|
|
<action android:name="android.intent.action.SEND" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="text/plain" />
|
|
</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" />
|
|
|
|
<data android:scheme="https" />
|
|
<data android:scheme="http" />
|
|
<data android:host="lemmy.world" />
|
|
<data android:host="lemmy.ml" />
|
|
<data android:host="beehaw.org" />
|
|
<data android:host="lemm.ee" />
|
|
<data android:host="sh.itjust.works" />
|
|
<data android:host="feddit.de" />
|
|
<data android:host="lemmy.fmhy.ml" />
|
|
<data android:host="lemmy.ca" />
|
|
<data android:host="www.hexbear.net" />
|
|
<data android:host="programming.dev" />
|
|
<data android:host="lemmy.dbzer0.com" />
|
|
<data android:host="lemmy.blahaj.zone" />
|
|
<data android:host="lemmy.one" />
|
|
<data android:host="vlemmy.net" />
|
|
<data android:host="lemmy.sdf.org" />
|
|
<data android:host="discuss.tchncs.de" />
|
|
<data android:host="lemmygrad.ml" />
|
|
<data android:host="sopuli.xyz" />
|
|
<data android:host="reddthat.com" />
|
|
<data android:host="aussie.zone" />
|
|
<data android:host="feddit.uk" />
|
|
<data android:host="feddit.nl" />
|
|
<data android:host="midwest.social" />
|
|
<data android:host="infosec.pub" />
|
|
<data android:host="feddit.it" />
|
|
<data android:host="ttrpg.network" />
|
|
<data android:host="pawb.social" />
|
|
<data android:host="lemmy.zip" />
|
|
<data android:host="startrek.website" />
|
|
<data android:host="burggit.moe" />
|
|
<data android:host="slrpnk.net" />
|
|
<data android:host="mander.xyz" />
|
|
<data android:host="lemmy.eco.br" />
|
|
<data android:host="lemmy.nz" />
|
|
<data android:host="dormi.zone" />
|
|
<data android:host="exploding-heads.com" />
|
|
<data android:host="delraymisfitsboard.com" />
|
|
<data android:host="monyet.cc" />
|
|
<data android:host="feddit.dk" />
|
|
<data android:host="lemmy.pt" />
|
|
<data android:host="szmer.info" />
|
|
<data android:host="yiffit.net" />
|
|
<data android:host="geddit.social" />
|
|
<data android:host="waveform.social" />
|
|
<data android:host="discuss.online" />
|
|
<data android:host="monero.town" />
|
|
<data android:host="feddit.cl" />
|
|
<data android:host="iusearchlinux.fyi" />
|
|
<data android:host="dataterm.digital" />
|
|
<data android:host="lemmy.whynotdrs.org" />
|
|
<data android:host="feddit.ch" />
|
|
<data android:host="enterprise.lemmy.ml" />
|
|
<data android:host="lemmy.run" />
|
|
<data android:host="jlai.lu" />
|
|
<data android:host="pornlemmy.com" />
|
|
<data android:host="lemdro.id" />
|
|
<data android:host="lemmyrs.org" />
|
|
<data android:host="latte.isnot.coffee" />
|
|
<data android:host="feddit.nu" />
|
|
<data android:host="lemmy.film" />
|
|
<data android:host="bakchodi.org" />
|
|
<data android:host="mujico.org" />
|
|
<data android:host="lemmy.studio" />
|
|
<data android:host="lemmy.toldi.eu" />
|
|
</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" />
|
|
|
|
<data
|
|
android:host="www.google.com"
|
|
android:pathPattern="/amp/s/amp.reddit.com/.*"
|
|
android:scheme="https" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.SearchActivity"
|
|
android:label="@string/search_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable"
|
|
android:windowSoftInputMode="adjustPan" />
|
|
<activity
|
|
android:name=".activities.RulesActivity"
|
|
android:label="@string/rules_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.PostVideoActivity"
|
|
android:label="@string/post_video_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.PostImageActivity"
|
|
android:label="@string/post_image_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.PostLinkActivity"
|
|
android:label="@string/post_link_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.SubscribedThingListingActivity"
|
|
android:label="@string/subscriptions"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.SubredditSelectionActivity"
|
|
android:label="@string/community_selection_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.PostTextActivity"
|
|
android:label="@string/post_text_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.CommentActivity"
|
|
android:label="@string/comment_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".activities.SearchResultActivity"
|
|
android:label="@string/search_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.MainActivity"
|
|
android:exported="true"
|
|
android:label="@string/application_name"
|
|
android:theme="@style/AppTheme.Launcher"
|
|
android:windowSoftInputMode="adjustPan">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.LoginActivity"
|
|
android:configChanges="orientation|screenLayout|screenSize|layoutDirection"
|
|
android:label="@string/login_activity_label"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.ViewImageOrGifActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.SlidableWithActionBar" />
|
|
<activity
|
|
android:name=".activities.ViewVideoActivity"
|
|
android:configChanges="orientation|screenSize|layoutDirection"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Draggable" />
|
|
<activity
|
|
android:name=".activities.ViewPostDetailActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable"
|
|
android:windowSoftInputMode="adjustPan" />
|
|
<activity
|
|
android:name=".activities.ViewSubredditDetailActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
<activity
|
|
android:name=".activities.ViewUserDetailActivity"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:theme="@style/AppTheme.Slidable" />
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="${applicationId}.provider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/file_paths" />
|
|
</provider>
|
|
<provider
|
|
android:name="androidx.startup.InitializationProvider"
|
|
android:authorities="${applicationId}.androidx-startup"
|
|
android:exported="false"
|
|
tools:node="merge">
|
|
<meta-data
|
|
android:name="com.crazylegend.crashyreporter.initializer.CrashyInitializer"
|
|
android:value="androidx.startup" />
|
|
</provider>
|
|
|
|
<service
|
|
android:name=".services.SubmitPostService"
|
|
android:enabled="true"
|
|
android:exported="false" />
|
|
<service
|
|
android:name=".services.EditProfileService"
|
|
android:enabled="true"
|
|
android:exported="false" />
|
|
|
|
<receiver android:name=".broadcastreceivers.DownloadedMediaDeleteActionBroadcastReceiver" />
|
|
</application>
|
|
|
|
</manifest> |