forked from firka/flutter
chore: enable Flutter Android workflow on aarch64 (#113829)
- removes invalid arch check on Android workflow in order to enable Android development on any device supported Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf> Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
committed by
GitHub
parent
c1ceda41ef
commit
2e432ec16b
@@ -44,19 +44,14 @@ class AndroidWorkflow implements Workflow {
|
||||
AndroidWorkflow({
|
||||
required AndroidSdk? androidSdk,
|
||||
required FeatureFlags featureFlags,
|
||||
required OperatingSystemUtils operatingSystemUtils,
|
||||
}) : _androidSdk = androidSdk,
|
||||
_featureFlags = featureFlags,
|
||||
_operatingSystemUtils = operatingSystemUtils;
|
||||
_featureFlags = featureFlags;
|
||||
|
||||
final AndroidSdk? _androidSdk;
|
||||
final FeatureFlags _featureFlags;
|
||||
final OperatingSystemUtils _operatingSystemUtils;
|
||||
|
||||
@override
|
||||
bool get appliesToHostPlatform => _featureFlags.isAndroidEnabled
|
||||
// Android Studio is not currently supported on Linux Arm64 Hosts.
|
||||
&& _operatingSystemUtils.hostPlatform != HostPlatform.linux_arm64;
|
||||
bool get appliesToHostPlatform => _featureFlags.isAndroidEnabled;
|
||||
|
||||
@override
|
||||
bool get canListDevices => appliesToHostPlatform && _androidSdk != null
|
||||
|
||||
Reference in New Issue
Block a user