Skip to content

Commit

Permalink
Update2 USSDService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
tarek-sat authored Jul 30, 2024
1 parent 045accf commit 6f9d298
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ protected static boolean notInputText(AccessibilityEvent event) {
private boolean isUSSDWidget(AccessibilityEvent event) {
return (event.getClassName().equals("amigo.app.AmigoAlertDialog")
|| event.getClassName().equals("android.app.AlertDialog")
|| (event.getClassName().equals("androidx.appcompat.app.e") && !event.getText().toString().contains("USSD"))
|| (event.getClassName().equals("androidx.appcompat.app.e") && !event.getText().toString().toLowerCase().contains("ussd"))
|| 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")
Expand Down

0 comments on commit 6f9d298

Please sign in to comment.