diff --git a/ussd-library-kotlin/src/main/java/com/romellfudi/ussdlibrary/USSDServiceKT.java b/ussd-library-kotlin/src/main/java/com/romellfudi/ussdlibrary/USSDServiceKT.java index af8d05f..db7f2be 100755 --- a/ussd-library-kotlin/src/main/java/com/romellfudi/ussdlibrary/USSDServiceKT.java +++ b/ussd-library-kotlin/src/main/java/com/romellfudi/ussdlibrary/USSDServiceKT.java @@ -139,7 +139,8 @@ private boolean isUSSDWidget(AccessibilityEvent event) { || event.getClassName().equals("android.app.AlertDialog") || event.getClassName().equals("com.android.phone.oppo.settings.LocalAlertDialog") || event.getClassName().equals("com.zte.mifavor.widget.AlertDialog") - || event.getClassName().equals("color.support.v7.app.AlertDialog")); + || event.getClassName().equals("color.support.v7.app.AlertDialog") + || event.getClassName().equals("com.transsion.widgetslib.dialog.PromptDialog")); } /** 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 ad91471..e7c4edd 100755 --- a/ussd-library/src/main/java/com/romellfudi/ussdlibrary/USSDService.java +++ b/ussd-library/src/main/java/com/romellfudi/ussdlibrary/USSDService.java @@ -154,7 +154,8 @@ private boolean isUSSDWidget(AccessibilityEvent event) { || event.getClassName().equals("android.app.AlertDialog") || event.getClassName().equals("com.android.phone.oppo.settings.LocalAlertDialog") || event.getClassName().equals("com.zte.mifavor.widget.AlertDialog") - || event.getClassName().equals("color.support.v7.app.AlertDialog")); + || event.getClassName().equals("color.support.v7.app.AlertDialog") + || event.getClassName().equals("com.transsion.widgetslib.dialog.PromptDialog")); } /**