mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix warning in `flutter create`d project ("package attribute is deprecated" in AndroidManifest)
42 lines
1.9 KiB
XML
42 lines
1.9 KiB
XML
<!-- Copyright 2014 The Flutter Authors. All rights reserved.
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
found in the LICENSE file. -->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<!-- The INTERNET permission is required for development. Specifically,
|
|
flutter needs it to communicate with the running application
|
|
to allow setting breakpoints, to provide hot reload, etc.
|
|
-->
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
|
|
<!-- ${applicationName} is used by the Flutter tool to select the Application
|
|
class to use. For most apps, this is the default Android application.
|
|
In most cases you can leave this as-is, but you if you want to provide
|
|
additional functionality it is fine to subclass or reimplement
|
|
Application and put your custom class here. -->
|
|
<application
|
|
android:name="${applicationName}"
|
|
android:label="macrobenchmarks"
|
|
android:icon="@mipmap/ic_launcher">
|
|
<activity
|
|
android:exported="true"
|
|
android:name=".MainActivity"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/LaunchTheme"
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
|
android:hardwareAccelerated="true"
|
|
android:windowSoftInputMode="adjustResize">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<!-- Don't delete the meta-data below.
|
|
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
|
<meta-data
|
|
android:name="flutterEmbedding"
|
|
android:value="2" />
|
|
</application>
|
|
</manifest>
|