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

Commit 9f92324

Browse files
Suppress deprecation warning for usage of Configuration.locale (#7973)
1 parent 9b21ea8 commit 9f92324

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ private void sendUserPlatformSettingsToDart() {
311311
.send();
312312
}
313313

314+
@SuppressWarnings("deprecation")
314315
private void sendLocalesToDart(Configuration config) {
315316
List<Locale> locales = new ArrayList<>();
316317
if (Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.N) {

0 commit comments

Comments
 (0)