From 1c3b17e7c28f49ca66927171bde1b25b68cbf51e Mon Sep 17 00:00:00 2001 From: tongtongstudio Date: Tue, 10 Jun 2025 09:14:01 +0800 Subject: [PATCH] =?UTF-8?q?version:1.6.5=20fix:=20update:=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=81=94=E7=B3=BB=E4=BA=BA=E8=BF=87=E5=A4=9A=E6=97=B6?= =?UTF-8?q?=E7=BF=BB=E9=A1=B5=E6=9F=A5=E6=89=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 ++-- .../accessibility/selecttospeak/SelectToSpeakService.java | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c42097d..ce0dfd3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -17,8 +17,8 @@ android { applicationId "com.xxpatx.os" minSdkVersion 24 targetSdkVersion 29 - versionCode 1063 - versionName "1.6.3" + versionCode 1065 + versionName "1.6.5" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/app/src/main/java/com/google/android/accessibility/selecttospeak/SelectToSpeakService.java b/app/src/main/java/com/google/android/accessibility/selecttospeak/SelectToSpeakService.java index 3fc5ce4..797d7ea 100644 --- a/app/src/main/java/com/google/android/accessibility/selecttospeak/SelectToSpeakService.java +++ b/app/src/main/java/com/google/android/accessibility/selecttospeak/SelectToSpeakService.java @@ -224,10 +224,13 @@ public class SelectToSpeakService extends AccessibilityService { step(Property.TEXT, TAG_TEXT, Step.CLICK_TAG); break; case CLICK_TAG: - step(Property.TEXT, mTagName, Step.CLICK_NAME); + if (!step(Property.TEXT, mTagName, Step.CLICK_NAME)){ + Toaster.show("没有找到标签"); + mCurrentStep = Step.WAITING; + } break; case CLICK_NAME://点击item - step(Property.TEXT, mName, Step.CLICK_INFO); + findContact(Property.TEXT, mName, Step.CLICK_INFO); break; case CLICK_INFO://进入个人信息页面 stepCallDialog(Property.TEXT, DIALER_TEXT, Step.CLICK_CALL);