mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
android: Explicitly mark Activities/Services with intent-filter as exported
Required when targeting Android 12.
This commit is contained in:
parent
6ab9297b5d
commit
86b69f26e4
@ -38,7 +38,8 @@
|
||||
<activity
|
||||
android:name=".ui.MainActivity"
|
||||
android:label="@string/main_activity_name"
|
||||
android:launchMode="singleTop" >
|
||||
android:launchMode="singleTop"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
@ -52,7 +53,8 @@
|
||||
android:theme="@style/TransparentActivity"
|
||||
android:taskAffinity=""
|
||||
android:excludeFromRecents="true"
|
||||
android:launchMode="singleTask" >
|
||||
android:launchMode="singleTask"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="org.strongswan.android.action.START_PROFILE" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
@ -88,7 +90,8 @@
|
||||
<activity
|
||||
android:name=".ui.VpnProfileSelectActivity"
|
||||
android:label="@string/strongswan_shortcut"
|
||||
android:icon="@mipmap/ic_shortcut" >
|
||||
android:icon="@mipmap/ic_shortcut"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.CREATE_SHORTCUT" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
@ -98,7 +101,8 @@
|
||||
android:name=".ui.VpnProfileImportActivity"
|
||||
android:label="@string/profile_import"
|
||||
android:taskAffinity=""
|
||||
android:excludeFromRecents="true" >
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
@ -144,7 +148,8 @@
|
||||
<activity
|
||||
android:name=".ui.TrustedCertificateImportActivity"
|
||||
android:label="@string/import_certificate"
|
||||
android:theme="@style/TransparentActivity" >
|
||||
android:theme="@style/TransparentActivity"
|
||||
android:exported="true">
|
||||
<intent-filter tools:ignore="AppLinkUrlError">
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
@ -162,7 +167,7 @@
|
||||
<service
|
||||
android:name=".logic.CharonVpnService"
|
||||
android:exported="false"
|
||||
android:permission="android.permission.BIND_VPN_SERVICE" >
|
||||
android:permission="android.permission.BIND_VPN_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.net.VpnService" />
|
||||
</intent-filter>
|
||||
@ -171,7 +176,8 @@
|
||||
android:name=".ui.VpnTileService"
|
||||
android:label="@string/tile_default"
|
||||
android:icon="@drawable/ic_notification"
|
||||
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
|
||||
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
||||
</intent-filter>
|
||||
|
Loading…
x
Reference in New Issue
Block a user