forked from firka/flutter
Suppress deprecation warning for usage of Configuration.locale (flutter/engine#7973)
This commit is contained in:
@@ -311,6 +311,7 @@ public class FlutterView extends SurfaceView
|
||||
.send();
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private void sendLocalesToDart(Configuration config) {
|
||||
List<Locale> locales = new ArrayList<>();
|
||||
if (Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.N) {
|
||||
|
||||
Reference in New Issue
Block a user