change: reuse const variable

This commit is contained in:
lilong.129
2024-12-11 16:15:02 +08:00
parent f83338b28f
commit 60dd9a24da
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
v5.0.0+2412102150
v5.0.0+2412111615

View File

@@ -191,7 +191,7 @@ func (dev *AndroidDevice) Options() (deviceOptions []AndroidDeviceOption) {
}
func (dev *AndroidDevice) Init() error {
dev.d.RunShellCommand("ime", "enable", "io.appium.settings/.UnicodeIME")
dev.d.RunShellCommand("ime", "enable", UnicodeImePackageName)
dev.d.RunShellCommand("rm", "-r", config.DeviceActionLogFilePath)
// Notice: brighten should be executed before unlock
// brighten android device screen