Reland "Exit on deprecated v1 embedding when trying to run or build (#92901)" (#93386)

This commit is contained in:
Gary Qian
2021-11-11 14:49:35 -08:00
committed by GitHub
parent 9659db7be8
commit eabb7cbc34
31 changed files with 278 additions and 64 deletions

View File

@@ -7,8 +7,8 @@ found in the LICENSE file. -->
<uses-permission android:name="android.permission.INTERNET"/>
<application android:name="io.flutter.app.FlutterApplication" android:label="complex_layout" android:icon="@mipmap/ic_launcher">
<activity android:name="io.flutter.app.FlutterActivity"
<application android:name="${applicationName}" android:label="complex_layout" android:icon="@mipmap/ic_launcher">
<activity android:name="io.flutter.embedding.android.FlutterActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Black.NoTitleBar"
@@ -20,5 +20,8 @@ found in the LICENSE file. -->
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>