You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2021/10/28 08:30:06 UTC

[cordova-android] branch master updated: feat(AndroidManifest): explicitly define the activity attribute android:exported (#1372)

This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git


The following commit(s) were added to refs/heads/master by this push:
     new a1ed1c0  feat(AndroidManifest): explicitly define the activity attribute android:exported (#1372)
a1ed1c0 is described below

commit a1ed1c0af7c6267f47e580e8850295202692f4ea
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Thu Oct 28 17:29:55 2021 +0900

    feat(AndroidManifest): explicitly define the activity attribute android:exported (#1372)
---
 templates/project/AndroidManifest.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/templates/project/AndroidManifest.xml b/templates/project/AndroidManifest.xml
index 21da8bf..5edc2af 100644
--- a/templates/project/AndroidManifest.xml
+++ b/templates/project/AndroidManifest.xml
@@ -37,7 +37,8 @@
                 android:launchMode="singleTop"
                 android:theme="@style/Theme.AppCompat.NoActionBar"
                 android:windowSoftInputMode="adjustResize"
-                android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode">
+                android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
+                android:exported="true">
             <intent-filter android:label="@string/launcher_name">
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LAUNCHER" />

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org