From 60dd9a24daea3ecb0cf08aaaf90cf38a1d1cbb43 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Wed, 11 Dec 2024 16:15:02 +0800 Subject: [PATCH] change: reuse const variable --- hrp/internal/version/VERSION | 2 +- hrp/pkg/uixt/android_device.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hrp/internal/version/VERSION b/hrp/internal/version/VERSION index 2bd7f83b..98ce2ead 100644 --- a/hrp/internal/version/VERSION +++ b/hrp/internal/version/VERSION @@ -1 +1 @@ -v5.0.0+2412102150 +v5.0.0+2412111615 diff --git a/hrp/pkg/uixt/android_device.go b/hrp/pkg/uixt/android_device.go index dcfdc4eb..2f8ad93e 100644 --- a/hrp/pkg/uixt/android_device.go +++ b/hrp/pkg/uixt/android_device.go @@ -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