From 5926f3426b82bc8da9611789f9512cc629b6395a Mon Sep 17 00:00:00 2001 From: Gary Qian Date: Fri, 19 Oct 2018 23:34:18 -0700 Subject: [PATCH 1/6] Revert "Revert "Roll buildtools to 759274dd801b2f78ae0c4066101d0beca27ffc9a" (#6621)" This reverts commit 9de880cc909c6a687aabb9fbe98fd2e7476fd7e8. From 2547d224033d4d9ff49d768e3915a66559a9ae37 Mon Sep 17 00:00:00 2001 From: Gary Qian Date: Fri, 19 Oct 2018 23:34:18 -0700 Subject: [PATCH 2/6] Revert "Properly gate android API < 21 and remove extraneous data array. (#6619)" This reverts commit 8cb3965a3ebf1c65d03a78fc6c0b84a8adc3024f. From 3034dd0652fccae6d1c7bdecbeeb60d5de123128 Mon Sep 17 00:00:00 2001 From: Gary Qian Date: Fri, 19 Oct 2018 23:34:18 -0700 Subject: [PATCH 3/6] Revert "Update Dart version in Dockerfile (#6618)" This reverts commit 2091c0db69d7ba7772b05564f60c25612e0aaaf4. From 8dcdda83c60312eba9a165bed54ba9d03affcf7d Mon Sep 17 00:00:00 2001 From: Gary Qian Date: Fri, 19 Oct 2018 23:34:18 -0700 Subject: [PATCH 4/6] Revert "Don't attempt to build any platform target on Fuchsia. (#6617)" This reverts commit 739d66eeb3f8777f3e28d3e635a5f691a0f1a16b. From c96d56d09ab8ef9c7d3263b43afa9b18463dcf51 Mon Sep 17 00:00:00 2001 From: Gary Qian Date: Fri, 19 Oct 2018 23:34:18 -0700 Subject: [PATCH 5/6] Revert "Roll Dart to 45f9462398ae7d2e80acd79d3f9c32c7ca6f6f97 (#6616)" This reverts commit 7d49036d8b14f679509e64bff6f91644cbe11151. From 0cf2c18c6c187002e4fd819f6cbce8584f7b3fc0 Mon Sep 17 00:00:00 2001 From: Gary Qian Date: Fri, 19 Oct 2018 23:34:18 -0700 Subject: [PATCH 6/6] Revert "Pass null instead of 'none' locale (#6613)" This reverts commit 6c84c5f6aea84797d9cdc787b342c6a5994524f1. --- lib/ui/window.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ui/window.dart b/lib/ui/window.dart index ca93f4874b15e..2c4f283214643 100644 --- a/lib/ui/window.dart +++ b/lib/ui/window.dart @@ -152,6 +152,9 @@ class Locale { /// the region subtag should be uppercase. const Locale(this._languageCode, [ this._countryCode ]) : assert(_languageCode != null); + /// Empty locale constant. This is an invalid locale. + static const Locale none = const Locale('', ''); + /// The primary language subtag for the locale. /// /// This must not be null. @@ -440,7 +443,7 @@ class Window { if (_locales != null && _locales.isNotEmpty) { return _locales.first; } - return null; + return Locale.none; } /// The full system-reported supported locales of the device.