Skip to content

Commit a9914e7

Browse files
authored
Explicitly declare android:exported in examples' manifest (#88502)
1 parent 854da06 commit a9914e7

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

examples/flutter_view/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ found in the LICENSE file. -->
1212

1313
<application android:label="flutter_view" android:icon="@mipmap/ic_launcher">
1414
<activity android:name=".MainActivity"
15+
android:exported="true"
1516
android:launchMode="singleTop"
1617
android:theme="@style/Theme.AppCompat"
1718
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

examples/hello_world/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ found in the LICENSE file. -->
1313

1414
<application android:label="hello_world" android:icon="@mipmap/ic_launcher">
1515
<activity android:name="io.flutter.embedding.android.FlutterActivity"
16+
android:exported="true"
1617
android:theme="@android:style/Theme.Black.NoTitleBar"
1718
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1819
android:hardwareAccelerated="true"

examples/image_list/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ found in the LICENSE file. -->
1212
android:icon="@mipmap/ic_launcher">
1313
<activity
1414
android:name="io.flutter.embedding.android.FlutterActivity"
15+
android:exported="true"
1516
android:theme="@style/LaunchTheme"
1617
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1718
android:hardwareAccelerated="true"

examples/layers/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ found in the LICENSE file. -->
1313

1414
<application android:label="Flutter Layers" android:icon="@mipmap/ic_launcher">
1515
<activity android:name="io.flutter.embedding.android.FlutterActivity"
16+
android:exported="true"
1617
android:theme="@android:style/Theme.Black.NoTitleBar"
1718
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1819
android:hardwareAccelerated="true"

examples/platform_channel/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ found in the LICENSE file. -->
1414

1515
<application android:label="@string/app_name">
1616
<activity android:name=".MainActivity"
17+
android:exported="true"
1718
android:launchMode="singleTop"
1819
android:theme="@android:style/Theme.Black.NoTitleBar"
1920
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

examples/platform_view/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ found in the LICENSE file. -->
1616
android:label="platform_view">
1717
<activity
1818
android:name="io.flutter.examples.platform_view.MainActivity"
19+
android:exported="true"
1920
android:theme="@android:style/Theme.Black.NoTitleBar"
2021
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
2122
android:hardwareAccelerated="true"

0 commit comments

Comments
 (0)