summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2021-02-23 09:28:34 +0100
committerByteHamster <info@bytehamster.com>2021-02-23 09:28:34 +0100
commit177081e4b720d454db4a440239bf66d9dcec75df (patch)
tree76847a7b03dcd47856cb7831dd7e80372bdcddec /app/src
parentd6b6a0691d3194b5de3d9ef374a8927b475e9c63 (diff)
downloadAntennaPod-177081e4b720d454db4a440239bf66d9dcec75df.zip
Explicitly specify exported attribute for Android 12 compatibility
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/AndroidManifest.xml42
1 files changed, 27 insertions, 15 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 79fcc430f..697624337 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -60,7 +60,8 @@
<activity
android:name=".activity.SplashActivity"
android:label="@string/app_name"
- android:configChanges="keyboardHidden|orientation|screenSize">
+ android:configChanges="keyboardHidden|orientation|screenSize"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
@@ -83,7 +84,8 @@
android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|density|uiMode|keyboard|navigation"
android:windowSoftInputMode="stateAlwaysHidden"
android:launchMode="singleTask"
- android:label="@string/app_name">
+ android:label="@string/app_name"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
@@ -128,7 +130,8 @@
<activity
android:name=".activity.WidgetConfigActivity"
- android:label="@string/widget_settings">
+ android:label="@string/widget_settings"
+ android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGUR"/>
</intent-filter>
@@ -141,21 +144,21 @@
android:exported="false">
</service>
- <receiver android:name=".core.receiver.PlayerWidget">
+ <receiver
+ android:name=".core.receiver.PlayerWidget"
+ android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>
<intent-filter>
<action android:name="de.danoeh.antennapod.FORCE_WIDGET_UPDATE"/>
</intent-filter>
-
- <meta-data
- android:name="android.appwidget.provider"
- android:resource="@xml/player_widget_info"/>
-
<intent-filter>
<action android:name="de.danoeh.antennapod.STOP_WIDGET_UPDATE"/>
</intent-filter>
+ <meta-data
+ android:name="android.appwidget.provider"
+ android:resource="@xml/player_widget_info"/>
</receiver>
<activity android:name=".activity.StorageErrorActivity">
@@ -163,7 +166,8 @@
<activity
android:name=".activity.OpmlImportActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
- android:label="@string/opml_import_label">
+ android:label="@string/opml_import_label"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
@@ -212,7 +216,8 @@
android:name=".activity.VideoplayerActivity"
android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
android:supportsPictureInPicture="true"
- android:screenOrientation="sensorLandscape">
+ android:screenOrientation="sensorLandscape"
+ android:exported="false">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="de.danoeh.antennapod.activity.MainActivity"/>
@@ -226,7 +231,8 @@
android:name=".activity.OnlineFeedViewActivity"
android:configChanges="orientation|screenSize"
android:theme="@style/Theme.AntennaPod.Dark.Translucent"
- android:label="@string/add_feed_label">
+ android:label="@string/add_feed_label"
+ android:exported="true">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="de.danoeh.antennapod.activity.MainActivity"/>
@@ -314,20 +320,26 @@
</activity>
- <receiver android:name=".receiver.ConnectivityActionReceiver">
+ <receiver
+ android:name=".receiver.ConnectivityActionReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
</intent-filter>
</receiver>
- <receiver android:name=".receiver.PowerConnectionReceiver">
+ <receiver
+ android:name=".receiver.PowerConnectionReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
</intent-filter>
</receiver>
- <receiver android:name=".receiver.SPAReceiver">
+ <receiver
+ android:name=".receiver.SPAReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="de.danoeh.antennapdsp.intent.SP_APPS_QUERY_FEEDS_RESPONSE"/>
</intent-filter>