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
diff --git a/shell/platform/android/AndroidManifest.xml b/shell/platform/android/AndroidManifest.xml
index 97c77ee..2b904fe 100644
--- a/shell/platform/android/AndroidManifest.xml
+++ b/shell/platform/android/AndroidManifest.xml
@@ -5,7 +5,7 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.flutter.app" android:versionCode="1" android:versionName="0.0.1">
- <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="31" />
+ <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="33" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.sensor.accelerometer" android:required="true" />
diff --git a/tools/android_lint/baseline.xml b/tools/android_lint/baseline.xml
index 41e7e89..3958739 100644
--- a/tools/android_lint/baseline.xml
+++ b/tools/android_lint/baseline.xml
@@ -57,17 +57,6 @@
</issue>
<issue
- id="OldTargetApi"
- 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."
- errorLine1=" <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="31" />"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../flutter/shell/platform/android/AndroidManifest.xml"
- line="8"
- column="42"/>
- </issue>
-
- <issue
id="HardcodedDebugMode"
message="Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one"
errorLine1=" <application android:label="Flutter Shell" android:name="FlutterApplication" android:debuggable="true">"