add support for oneplus 6
This commit is contained in:
@@ -931,6 +931,8 @@ class CommandorPage {
|
||||
case OCRResult.BRAVE_PRIVACY:
|
||||
if (this.device.model() === "MI 5s")
|
||||
await this.device.shell("input tap " + 530 + " " + 970)
|
||||
else if (this.device.model() === "ONEPLUS A6000")
|
||||
await this.device.shell("input tap " + 530 + " " + 1064)
|
||||
else
|
||||
await this.device.shell("input tap " + 500 + " " + 1120)
|
||||
await delay(2000);
|
||||
@@ -1040,6 +1042,8 @@ class CommandorPage {
|
||||
await this.device.shell("input tap " + 558 + " " + 1160)
|
||||
} else if (model === "MI 5s") {
|
||||
await this.device.shell("input tap " + 530 + " " + 1000)
|
||||
} else if (model === "ONEPLUS A6000") {
|
||||
await this.device.shell("input tap " + 530 + " " + 1106)
|
||||
} else {
|
||||
await this.device.shell("input tap " + 470 + " " + 1160)
|
||||
}
|
||||
@@ -1157,6 +1161,8 @@ class CommandorPage {
|
||||
await this.device.shell("input tap " + 411 + " " + 1977)
|
||||
} else if (this.browserPackageName.includes("brave") && this.device.model() === "RMX3151") {
|
||||
await this.device.shell("input tap " + 411 + " " + 1977)
|
||||
} else if (this.browserPackageName.includes("brave") && this.device.model() === "ONEPLUS A6000") {
|
||||
await this.device.shell("input tap " + 411 + " " + 1970)
|
||||
} else
|
||||
await this.device.shell("input tap " + 411 + " " + 2100)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user