Skip to content

Commit 42c7c49

Browse files
committed
ArrayIndexOutOfBounceException issue resolved
1 parent 95c5034 commit 42c7c49

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

protect/src/main/java/com/webileapps/safeguard/SecurityChecker.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,10 @@ private void showNextDialog(Context context) {
357357
if (activity.isFinishing() || activity.isDestroyed()) {
358358
return;
359359
}
360-
360+
if (dialogQueue.isEmpty()) {
361+
isShowingDialog = false;
362+
return;
363+
}
361364
isShowingDialog = true;
362365
SecurityDialogInfo dialogInfo = dialogQueue.remove(0);
363366

0 commit comments

Comments
 (0)