Skip to content

Commit d50b5d4

Browse files
Fatmerosen-vladimirov
authored andcommitted
fix: add support for android 'Q'
#4451
1 parent 43fda3b commit d50b5d4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/common/mobile/android/android-device.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,16 @@ export class AndroidDevice implements Mobile.IAndroidDevice {
7171
const adbStatusInfo = AndroidDevice.ADB_DEVICE_STATUS_INFO[this.status];
7272
const type = await this.getType();
7373

74+
let version = details.release;
75+
if (version && version.toLowerCase() === 'q') {
76+
version = '10.0.0';
77+
}
78+
7479
this.deviceInfo = {
7580
identifier: this.identifier,
7681
displayName: details.name,
7782
model: details.model,
78-
version: details.release,
83+
version,
7984
vendor: details.brand,
8085
platform: this.$devicePlatformsConstants.Android,
8186
status: adbStatusInfo ? adbStatusInfo.deviceStatus : this.status,

0 commit comments

Comments
 (0)