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

Commit d51d1fc

Browse files
committed
added suprress lint
1 parent 31bca40 commit d51d1fc

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

shell/platform/android/io/flutter/embedding/android/FlutterView.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,6 @@ public enum ZeroSides {
610610
*
611611
* @return some ZeroSides enum
612612
*/
613-
@SuppressWarnings("deprecated")
614613
@androidx.annotation.DeprecatedSinceApi(api = API_LEVELS.API_30)
615614
@VisibleForTesting
616615
public ZeroSides calculateShouldZeroSides() {

tools/android_lint/baseline.xml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<issues format="6" by="lint 8.1.0 [10406996] " type="baseline" client="" dependencies="true" name="" variant="all" version="8.1.0 [10406996] ">
2+
<issues format="6" by="lint 8.3.0 [11479570] " type="baseline" client="" dependencies="true" name="" variant="all" version="8.3.0 [11479570] ">
3+
4+
<issue
5+
id="DeprecatedSinceApi"
6+
message="This method is deprecated as of API level 30"
7+
errorLine1=" zeroSides = calculateShouldZeroSides();"
8+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
9+
<location
10+
file="../../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java"
11+
line="759"
12+
column="21"/>
13+
</issue>
314

415
<issue
516
id="HardcodedDebugMode"
@@ -19,7 +30,7 @@
1930
errorLine2=" ~~~~~~~~~~~~">
2031
<location
2132
file="../../../flutter/shell/platform/android/io/flutter/view/FlutterView.java"
22-
line="445"
33+
line="474"
2334
column="18"/>
2435
</issue>
2536

@@ -30,7 +41,7 @@
3041
errorLine2=" ~~~~~~~~~~~~">
3142
<location
3243
file="../../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java"
33-
line="928"
44+
line="896"
3445
column="18"/>
3546
</issue>
3647

0 commit comments

Comments
 (0)