mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-21 12:33:59 +08:00
change: reuse const variable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user