diff options
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 50 |
1 files changed, 27 insertions, 23 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 6852e8a5..8112918d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -34,7 +34,8 @@ android:theme="@style/AppTheme" android:usesCleartextTraffic="true" tools:replace="android:label"> - <activity android:name=".activities.EditProfileActivity" + <activity + android:name=".activities.EditProfileActivity" android:label="@string/edit_profile_activity_label" android:parentActivityName=".activities.MainActivity" android:theme="@style/AppTheme.Slidable" @@ -209,7 +210,8 @@ android:label="@string/account_saved_thing_activity_label" android:parentActivityName=".activities.MainActivity" android:theme="@style/AppTheme.Slidable" /> - <activity android:name=".activities.ShareDataResolverActivity" + <activity + android:name=".activities.ShareDataResolverActivity" android:exported="false"> <intent-filter> <action android:name="android.intent.action.SEND" /> @@ -268,39 +270,41 @@ android:label="@string/search_subreddits_activity_label" android:parentActivityName=".activities.MainActivity" android:theme="@style/AppTheme.Slidable" /> - <activity android:name=".activities.LinkResolverActivity" + <activity + android:name=".activities.LinkResolverActivity" android:exported="true"> <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="www.reddit.com"/> - <data android:host="reddit.com"/> - <data android:host="v.redd.it"/> - <data android:host="amp.reddit.com"/> - <data android:host="m.reddit.com"/> - <data android:host="old.reddit.com"/> - <data android:host="new.reddit.com"/> - <data android:host="np.reddit.com"/> - <data android:host="reddit.app.link"/> - <data android:host="redd.it"/> - <data android:host="s.reddit.com"/> - <data android:host="click.redditmail.com"/> + <data android:scheme="https" /> + <data android:scheme="http" /> + <data android:host="www.reddit.com" /> + <data android:host="reddit.com" /> + <data android:host="v.redd.it" /> + <data android:host="amp.reddit.com" /> + <data android:host="m.reddit.com" /> + <data android:host="old.reddit.com" /> + <data android:host="new.reddit.com" /> + <data android:host="np.reddit.com" /> + <data android:host="reddit.app.link" /> + <data android:host="redd.it" /> + <data android:host="s.reddit.com" /> + <data android:host="click.redditmail.com" /> </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:scheme="https" - android:pathPattern="/amp/s/amp.reddit.com/.*" /> + android:pathPattern="/amp/s/amp.reddit.com/.*" + android:scheme="https" /> </intent-filter> - </activity> <activity android:name=".activities.SearchActivity" @@ -360,10 +364,10 @@ 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" - android:exported="true"> + android:windowSoftInputMode="adjustPan"> <intent-filter> <action android:name="android.intent.action.MAIN" /> |