1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 20:31:16 +00:00

Add android:exported attribute to manifest (target 31) (#1867)

This commit is contained in:
Simon Frei 2022-11-27 20:24:25 +01:00 committed by GitHub
parent d8413c6e11
commit 9bd413705c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,8 @@
<activity <activity
android:name=".activities.FirstStartActivity" android:name=".activities.FirstStartActivity"
android:label="@string/app_name" android:label="@string/app_name"
android:launchMode="singleTask"> android:launchMode="singleTask"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
@ -74,7 +75,8 @@
android:label="@string/share_activity_title" android:label="@string/share_activity_title"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:taskAffinity="" android:taskAffinity=""
android:windowSoftInputMode="adjustResize"> android:windowSoftInputMode="adjustResize"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SEND" /> <action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
@ -88,7 +90,8 @@
</activity> </activity>
<activity <activity
android:name=".activities.LogActivity" android:name=".activities.LogActivity"
android:parentActivityName=".activities.SettingsActivity"> android:parentActivityName=".activities.SettingsActivity"
android:exported="false">
<intent-filter> <intent-filter>
<action android:name=".activities.LogActivity" /> <action android:name=".activities.LogActivity" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
@ -123,14 +126,16 @@
android:value=".activities.MainActivity" /> android:value=".activities.MainActivity" />
</activity> </activity>
<service android:name=".service.SyncthingService" /> <service android:name=".service.SyncthingService" />
<receiver android:name=".receiver.BootReceiver"> <receiver android:name=".receiver.BootReceiver"
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter> </intent-filter>
</receiver> </receiver>
<receiver android:name=".receiver.AppConfigReceiver" <receiver android:name=".receiver.AppConfigReceiver"
tools:ignore="ExportedReceiver"> tools:ignore="ExportedReceiver"
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="com.nutomic.syncthingandroid.action.START" /> <action android:name="com.nutomic.syncthingandroid.action.START" />
<action android:name="com.nutomic.syncthingandroid.action.STOP" /> <action android:name="com.nutomic.syncthingandroid.action.STOP" />