diff --git a/ussd-library/src/main/java/com/romellfudi/ussdlibrary/USSDService.java b/ussd-library/src/main/java/com/romellfudi/ussdlibrary/USSDService.java index 7cf78e3..fe6fbcf 100755 --- a/ussd-library/src/main/java/com/romellfudi/ussdlibrary/USSDService.java +++ b/ussd-library/src/main/java/com/romellfudi/ussdlibrary/USSDService.java @@ -157,7 +157,9 @@ private boolean isUSSDWidget(AccessibilityEvent event) { || event.getClassName().equals("com.zte.mifavor.widget.AlertDialog") || event.getClassName().equals("color.support.v7.app.AlertDialog") || event.getClassName().equals("com.transsion.widgetslib.dialog.PromptDialog") - || event.getClassName().equals("miuix.appcompat.app.AlertDialog")); + || event.getClassName().equals("miuix.appcompat.app.AlertDialog") + || event.getText().toString().toLowerCase().contains("message,") + ); } /**