committed by
GitHub
parent
14a15dedbe
commit
fda9ecfef7
@@ -552,16 +552,12 @@ class AndroidDevice extends Device {
|
||||
switch (devicePlatform) {
|
||||
case TargetPlatform.android_arm:
|
||||
androidArch = AndroidArch.armeabi_v7a;
|
||||
break;
|
||||
case TargetPlatform.android_arm64:
|
||||
androidArch = AndroidArch.arm64_v8a;
|
||||
break;
|
||||
case TargetPlatform.android_x64:
|
||||
androidArch = AndroidArch.x86_64;
|
||||
break;
|
||||
case TargetPlatform.android_x86:
|
||||
androidArch = AndroidArch.x86;
|
||||
break;
|
||||
case TargetPlatform.android:
|
||||
case TargetPlatform.darwin:
|
||||
case TargetPlatform.fuchsia_arm64:
|
||||
@@ -949,25 +945,18 @@ AndroidMemoryInfo parseMeminfoDump(String input) {
|
||||
switch (key) {
|
||||
case AndroidMemoryInfo._kJavaHeapKey:
|
||||
androidMemoryInfo.javaHeap = value;
|
||||
break;
|
||||
case AndroidMemoryInfo._kNativeHeapKey:
|
||||
androidMemoryInfo.nativeHeap = value;
|
||||
break;
|
||||
case AndroidMemoryInfo._kCodeKey:
|
||||
androidMemoryInfo.code = value;
|
||||
break;
|
||||
case AndroidMemoryInfo._kStackKey:
|
||||
androidMemoryInfo.stack = value;
|
||||
break;
|
||||
case AndroidMemoryInfo._kGraphicsKey:
|
||||
androidMemoryInfo.graphics = value;
|
||||
break;
|
||||
case AndroidMemoryInfo._kPrivateOtherKey:
|
||||
androidMemoryInfo.privateOther = value;
|
||||
break;
|
||||
case AndroidMemoryInfo._kSystemKey:
|
||||
androidMemoryInfo.system = value;
|
||||
break;
|
||||
}
|
||||
});
|
||||
return androidMemoryInfo;
|
||||
|
||||
@@ -316,7 +316,6 @@ class AndroidLicenseValidator extends DoctorValidator {
|
||||
switch (await licensesAccepted) {
|
||||
case LicensesAccepted.all:
|
||||
messages.add(ValidationMessage(_userMessages.androidLicensesAll));
|
||||
break;
|
||||
case LicensesAccepted.some:
|
||||
messages.add(ValidationMessage.hint(_userMessages.androidLicensesSome));
|
||||
return ValidationResult(ValidationType.partial, messages, statusInfo: sdkVersionText);
|
||||
|
||||
@@ -327,7 +327,6 @@ class ApkManifestData {
|
||||
case 'A':
|
||||
currentElement
|
||||
.addChild(_Attribute.fromLine(line, currentElement));
|
||||
break;
|
||||
case 'E':
|
||||
final _Element element = _Element.fromLine(line, currentElement);
|
||||
currentElement.addChild(element);
|
||||
|
||||
Reference in New Issue
Block a user