From 930fcb8c2ab9ac765c58e2af48408e809e5824f2 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Tue, 26 Feb 2019 17:03:10 -0800 Subject: [PATCH] Suppress deprecation warning for usage of Configuration.locale (flutter/engine#7973) --- .../shell/platform/android/io/flutter/view/FlutterView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/view/FlutterView.java b/engine/src/flutter/shell/platform/android/io/flutter/view/FlutterView.java index 8c7f8baaa1..753f12967f 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/view/FlutterView.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/view/FlutterView.java @@ -311,6 +311,7 @@ public class FlutterView extends SurfaceView .send(); } + @SuppressWarnings("deprecation") private void sendLocalesToDart(Configuration config) { List locales = new ArrayList<>(); if (Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.N) {