support Oneplus 6
This commit is contained in:
@@ -999,7 +999,7 @@ class CommandorPage {
|
|||||||
await this.tapForDevice(this.device, 530, 970)
|
await this.tapForDevice(this.device, 530, 970)
|
||||||
} else if (model === "HUAWEI NXT-TL00") {
|
} else if (model === "HUAWEI NXT-TL00") {
|
||||||
await this.tapForDevice(this.device, 530, 950)
|
await this.tapForDevice(this.device, 530, 950)
|
||||||
} else if (this.device.model === "ONEPLUS A6000") {
|
} else if (this.device.model === "ONEPLUS_A6000") {
|
||||||
await this.tapForDevice(this.device, 530, 1064)
|
await this.tapForDevice(this.device, 530, 1064)
|
||||||
} else if (this.device.model === "moto g51 5G") {
|
} else if (this.device.model === "moto g51 5G") {
|
||||||
await this.tapForDevice(this.device, 500, 1080)
|
await this.tapForDevice(this.device, 500, 1080)
|
||||||
@@ -1315,7 +1315,7 @@ class CommandorPage {
|
|||||||
await this.tapForDevice(this.device, 530, 950)
|
await this.tapForDevice(this.device, 530, 950)
|
||||||
} else if (model === "M2006C3LG" || model === "220233L2G") {
|
} else if (model === "M2006C3LG" || model === "220233L2G") {
|
||||||
await this.tapForDevice(this.device, 360, 777)
|
await this.tapForDevice(this.device, 360, 777)
|
||||||
} else if (model === "ONEPLUS A6000") {
|
} else if (model === "ONEPLUS_A6000") {
|
||||||
await this.tapForDevice(this.device, 530, 1045)
|
await this.tapForDevice(this.device, 530, 1045)
|
||||||
} else if (model === "CPH2469") {
|
} else if (model === "CPH2469") {
|
||||||
await this.tapForDevice(this.device, 360, 820)
|
await this.tapForDevice(this.device, 360, 820)
|
||||||
@@ -1387,7 +1387,7 @@ class CommandorPage {
|
|||||||
await this.tapForDevice(this.device, 103, 2283)
|
await this.tapForDevice(this.device, 103, 2283)
|
||||||
await delay(2000);
|
await delay(2000);
|
||||||
await openUrlWithAdb(RDV_URL, this.device)
|
await openUrlWithAdb(RDV_URL, this.device)
|
||||||
} else if (this.device.model === "ONEPLUS A6000") {
|
} else if (this.device.model === "ONEPLUS_A6000") {
|
||||||
await this.tapForDevice(this.device, 122, 2172)
|
await this.tapForDevice(this.device, 122, 2172)
|
||||||
await delay(2000);
|
await delay(2000);
|
||||||
await openUrlWithAdb(RDV_URL, this.device)
|
await openUrlWithAdb(RDV_URL, this.device)
|
||||||
@@ -1411,7 +1411,7 @@ class CommandorPage {
|
|||||||
await delay(2000);
|
await delay(2000);
|
||||||
this.device.shell("input tap " + 800 + " " + 2100)
|
this.device.shell("input tap " + 800 + " " + 2100)
|
||||||
await delay(1000);
|
await delay(1000);
|
||||||
} else if (model === "ONEPLUS A6000") {
|
} else if (model === "ONEPLUS_A6000") {
|
||||||
this.device.shell("input tap " + 818 + " " + 2140)
|
this.device.shell("input tap " + 818 + " " + 2140)
|
||||||
await delay(2000);
|
await delay(2000);
|
||||||
this.device.shell("input tap " + 818 + " " + 2140)
|
this.device.shell("input tap " + 818 + " " + 2140)
|
||||||
@@ -1450,7 +1450,7 @@ class CommandorPage {
|
|||||||
this.device.shell("input tap " + 492 + " " + 1960)
|
this.device.shell("input tap " + 492 + " " + 1960)
|
||||||
} else if (model === "Mi Note 10") {
|
} else if (model === "Mi Note 10") {
|
||||||
this.device.shell("input tap " + 550 + " " + 1920)
|
this.device.shell("input tap " + 550 + " " + 1920)
|
||||||
} else if (model === "ONEPLUS A6000") {
|
} else if (model === "ONEPLUS_A6000") {
|
||||||
log("will tap on " + model + ": " + 535 + " " + 1930)
|
log("will tap on " + model + ": " + 535 + " " + 1930)
|
||||||
this.device.shell("input tap " + 535 + " " + 1930)
|
this.device.shell("input tap " + 535 + " " + 1930)
|
||||||
await delay(1000);
|
await delay(1000);
|
||||||
@@ -1498,7 +1498,7 @@ class CommandorPage {
|
|||||||
await this.device.shell("input tap " + 411 + " " + 1977)
|
await this.device.shell("input tap " + 411 + " " + 1977)
|
||||||
} else if (this.browserPackageName.includes("brave") && this.device.model === "RMX3151") {
|
} else if (this.browserPackageName.includes("brave") && this.device.model === "RMX3151") {
|
||||||
await this.device.shell("input tap " + 411 + " " + 1977)
|
await this.device.shell("input tap " + 411 + " " + 1977)
|
||||||
} else if (this.browserPackageName.includes("brave") && this.device.model === "ONEPLUS A6000") {
|
} else if (this.browserPackageName.includes("brave") && this.device.model === "ONEPLUS_A6000") {
|
||||||
await this.device.shell("input tap " + 411 + " " + 1970)
|
await this.device.shell("input tap " + 411 + " " + 1970)
|
||||||
} else if (this.browserPackageName.includes("brave") && this.device.model === "ASUS_X00QD") {
|
} else if (this.browserPackageName.includes("brave") && this.device.model === "ASUS_X00QD") {
|
||||||
await this.device.shell("input tap " + 411 + " " + 1970)
|
await this.device.shell("input tap " + 411 + " " + 1970)
|
||||||
|
|||||||
Reference in New Issue
Block a user