Unverified Commit a9914e78 authored by Wyte Krongapiradee's avatar Wyte Krongapiradee Committed by GitHub

Explicitly declare `android:exported` in examples' manifest (#88502)

parent 854da069
...@@ -12,6 +12,7 @@ found in the LICENSE file. --> ...@@ -12,6 +12,7 @@ found in the LICENSE file. -->
<application android:label="flutter_view" android:icon="@mipmap/ic_launcher"> <application android:label="flutter_view" android:icon="@mipmap/ic_launcher">
<activity android:name=".MainActivity" <activity android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop" android:launchMode="singleTop"
android:theme="@style/Theme.AppCompat" android:theme="@style/Theme.AppCompat"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
......
...@@ -13,6 +13,7 @@ found in the LICENSE file. --> ...@@ -13,6 +13,7 @@ found in the LICENSE file. -->
<application android:label="hello_world" android:icon="@mipmap/ic_launcher"> <application android:label="hello_world" android:icon="@mipmap/ic_launcher">
<activity android:name="io.flutter.embedding.android.FlutterActivity" <activity android:name="io.flutter.embedding.android.FlutterActivity"
android:exported="true"
android:theme="@android:style/Theme.Black.NoTitleBar" android:theme="@android:style/Theme.Black.NoTitleBar"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
......
...@@ -12,6 +12,7 @@ found in the LICENSE file. --> ...@@ -12,6 +12,7 @@ found in the LICENSE file. -->
android:icon="@mipmap/ic_launcher"> android:icon="@mipmap/ic_launcher">
<activity <activity
android:name="io.flutter.embedding.android.FlutterActivity" android:name="io.flutter.embedding.android.FlutterActivity"
android:exported="true"
android:theme="@style/LaunchTheme" android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
......
...@@ -13,6 +13,7 @@ found in the LICENSE file. --> ...@@ -13,6 +13,7 @@ found in the LICENSE file. -->
<application android:label="Flutter Layers" android:icon="@mipmap/ic_launcher"> <application android:label="Flutter Layers" android:icon="@mipmap/ic_launcher">
<activity android:name="io.flutter.embedding.android.FlutterActivity" <activity android:name="io.flutter.embedding.android.FlutterActivity"
android:exported="true"
android:theme="@android:style/Theme.Black.NoTitleBar" android:theme="@android:style/Theme.Black.NoTitleBar"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
......
...@@ -14,6 +14,7 @@ found in the LICENSE file. --> ...@@ -14,6 +14,7 @@ found in the LICENSE file. -->
<application android:label="@string/app_name"> <application android:label="@string/app_name">
<activity android:name=".MainActivity" <activity android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop" android:launchMode="singleTop"
android:theme="@android:style/Theme.Black.NoTitleBar" android:theme="@android:style/Theme.Black.NoTitleBar"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
......
...@@ -16,6 +16,7 @@ found in the LICENSE file. --> ...@@ -16,6 +16,7 @@ found in the LICENSE file. -->
android:label="platform_view"> android:label="platform_view">
<activity <activity
android:name="io.flutter.examples.platform_view.MainActivity" android:name="io.flutter.examples.platform_view.MainActivity"
android:exported="true"
android:theme="@android:style/Theme.Black.NoTitleBar" android:theme="@android:style/Theme.Black.NoTitleBar"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment