Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 6dbcf8f

Browse files
authored
Use targetSdkVersion 33 for Android platform AndroidManifest.xml (#47683)
buildroot has switched to use 33 as default target sdk version. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 0ac3c65 commit 6dbcf8f

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

shell/platform/android/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
-->
66
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.flutter.app" android:versionCode="1" android:versionName="0.0.1">
77

8-
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="31" />
8+
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="33" />
99
<uses-permission android:name="android.permission.INTERNET" />
1010
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
1111
<uses-feature android:name="android.hardware.sensor.accelerometer" android:required="true" />

tools/android_lint/baseline.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,6 @@
5656
column="67"/>
5757
</issue>
5858

59-
<issue
60-
id="OldTargetApi"
61-
message="Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the `android.os.Build.VERSION_CODES` javadoc for details."
62-
errorLine1=" &lt;uses-sdk android:minSdkVersion=&quot;16&quot; android:targetSdkVersion=&quot;31&quot; />"
63-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
64-
<location
65-
file="../../../flutter/shell/platform/android/AndroidManifest.xml"
66-
line="8"
67-
column="42"/>
68-
</issue>
69-
7059
<issue
7160
id="HardcodedDebugMode"
7261
message="Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one"

0 commit comments

Comments
 (0)