|
|
@@ -1,6 +1,7 @@
|
|
|
package com.grkj.iscs_mars.view.fragment
|
|
|
|
|
|
import android.content.Intent
|
|
|
+import android.util.Log
|
|
|
import android.widget.ImageView
|
|
|
import androidx.viewpager2.widget.ViewPager2
|
|
|
import com.arcsoft.face.FaceEngine
|
|
|
@@ -53,7 +54,9 @@ class LoginFragment :
|
|
|
mBinding?.mainTitle?.setDebouncedClickListener {
|
|
|
val activeDeviceInfo = ActiveDeviceInfo()
|
|
|
FaceEngine.getActiveDeviceInfo(requireContext(), activeDeviceInfo)
|
|
|
- ShellUtils.execCmd("echo ${activeDeviceInfo.deviceInfo} > /sdcard/iscs/activeDeviceInfo.txt")
|
|
|
+ Log.d("activeDeviceInfo", "ArcSoftKeyInfo ${activeDeviceInfo.deviceInfo}")
|
|
|
+ val result = ShellUtils.execCmd("echo ${activeDeviceInfo.deviceInfo} > /sdcard/iscs/activeDeviceInfo.txt")
|
|
|
+ Log.d("activeDeviceInfo", "CreateFile Ok -> ${result.successMsg} Error -> ${result.errorMsg}")
|
|
|
}
|
|
|
mBinding?.tvVersion?.setDebouncedClickListener {
|
|
|
UrlConfigDialog(requireContext()).show()
|