Skip to content

Commit 8e70d3f

Browse files
fix(device_info_plus): add @Suppress(deprecate) to Build.SERIAL (#3402)
1 parent 95a12ee commit 8e70d3f

File tree

1 file changed

+1
-0
lines changed
  • packages/device_info_plus/device_info_plus/android/src/main/kotlin/dev/fluttercommunity/plus/device_info

1 file changed

+1
-0
lines changed

packages/device_info_plus/device_info_plus/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ internal class MethodCallHandlerImpl(
7272
Build.UNKNOWN
7373
}
7474
} else {
75+
@Suppress("DEPRECATION")
7576
build["serialNumber"] = Build.SERIAL
7677
}
7778

0 commit comments

Comments
 (0)