修复微信安装判断问题

This commit is contained in:
2025-07-28 10:32:36 +08:00
parent 1d2fc9f172
commit d5c0c679e3

View File

@@ -312,9 +312,9 @@ public class SelectToSpeakService extends AccessibilityService {
intent.setComponent(cmp);
try {
startActivity(intent);
Toaster.show("打开微信失败,请检查微信版本是否过低");
} catch (Exception e) {
Log.e(TAG, "launchWeChat: " + e.getMessage());
Toaster.show("打开微信失败,请检查微信版本是否过低");
}
} else {
Toaster.show("微信未安装,请安装微信后使用");