diff --git a/hrp/internal/version/VERSION b/hrp/internal/version/VERSION index 8bd55382..cc5dfd39 100644 --- a/hrp/internal/version/VERSION +++ b/hrp/internal/version/VERSION @@ -1 +1 @@ -v5.0.0+2411122229 +v5.0.0+2411131451 diff --git a/hrp/pkg/uixt/android_device.go b/hrp/pkg/uixt/android_device.go index 1f59ed1a..92eac758 100644 --- a/hrp/pkg/uixt/android_device.go +++ b/hrp/pkg/uixt/android_device.go @@ -194,6 +194,10 @@ func (dev *AndroidDevice) Options() (deviceOptions []AndroidDeviceOption) { func (dev *AndroidDevice) Init() error { dev.d.RunShellCommand("ime", "enable", "io.appium.settings/.UnicodeIME") dev.d.RunShellCommand("rm", "-r", config.DeviceActionLogFilePath) + // unlock android device screen + dev.d.RunShellCommand("input", "keyevent", "82") + // brighten android device screen + dev.d.RunShellCommand("input", "keyevent", "224") if dev.UIA2 { // uiautomator2 server must be started before