Update to flutter-2.8.0 (#68)

Updated to the flutter 2.8.0. See also:
 - https://github.com/sony/flutter-embedded-linux/releases/tag/40a99c5951
 - https://github.com/flutter/flutter/tree/2.8.0
This commit is contained in:
Hidenori Matsubayashi
2021-12-10 13:19:28 +09:00
committed by GitHub
parent fad1d30ae7
commit 0e4107e829
6 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -1 +1 @@
d3ea636dc5d16b56819f3266241e1f708979c233 40a99c595137e4b2f5b2efa8ff343ea23c1e16b8
+1 -1
View File
@@ -1 +1 @@
18116933e77adc82f80866c928266a5b4f1ed645 cf4400006550b70f28e4b4af815151d1e74846c6
+2 -2
View File
@@ -279,12 +279,12 @@ class ELinuxUpgradeCommandRunner {
/// Source: [runCommandSecondHalf] in `upgrade.dart` /// Source: [runCommandSecondHalf] in `upgrade.dart`
Future<void> runCommandSecondHalf() async { Future<void> runCommandSecondHalf() async {
// Make sure the welcome message re-display is delayed until the end. // Make sure the welcome message re-display is delayed until the end.
globals.persistentToolState.redisplayWelcomeMessage = false; globals.persistentToolState.setShouldRedisplayWelcomeMessage(false);
await precacheArtifacts(); await precacheArtifacts();
await updatePackages(); await updatePackages();
await runDoctor(); await runDoctor();
// Force the welcome message to re-display following the upgrade. // Force the welcome message to re-display following the upgrade.
globals.persistentToolState.redisplayWelcomeMessage = true; globals.persistentToolState.setShouldRedisplayWelcomeMessage(true);
} }
/// Source: [precacheArtifacts] in `upgrade.dart` /// Source: [precacheArtifacts] in `upgrade.dart`
+2 -2
View File
@@ -164,8 +164,8 @@ class ELinuxDevice extends Device {
final ProtocolDiscovery discovery = ProtocolDiscovery.observatory( final ProtocolDiscovery discovery = ProtocolDiscovery.observatory(
_logReader, _logReader,
portForwarder: _config.usesPortForwarding ? portForwarder : null, portForwarder: _config.usesPortForwarding ? portForwarder : null,
hostPort: null, hostPort: debuggingOptions?.hostVmServicePort,
devicePort: null, devicePort: debuggingOptions?.deviceVmServicePort,
logger: _logger, logger: _logger,
ipv6: ipv6, ipv6: ipv6,
); );
+1 -1
View File
@@ -77,7 +77,7 @@ class ELinuxRemoteDevicesConfig {
for (final MapEntry<int, dynamic> entry in typedList.asMap().entries) { for (final MapEntry<int, dynamic> entry in typedList.asMap().entries) {
try { try {
revived.add(ELinuxRemoteDeviceConfig.fromJson(entry.value)); revived.add(ELinuxRemoteDeviceConfig.fromJson(entry.value));
} on ELinuxRemoteDeviceRevivalException catch (e) { } on ELinuxRemoteDeviceRevivalException catch (_) {
// TODO(hidenori): Corrensponds to the format difference // TODO(hidenori): Corrensponds to the format difference
// from the default schema and uncooment here. // from the default schema and uncooment here.
// //
-1
View File
@@ -141,7 +141,6 @@ Future<void> main(List<String> args) async {
stdio: globals.stdio, stdio: globals.stdio,
terminal: globals.terminal, terminal: globals.terminal,
outputPreferences: globals.outputPreferences, outputPreferences: globals.outputPreferences,
stopwatchFactory: const StopwatchFactory(),
)), )),
}, },
); );