Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f2d3e6a authored by Jorge Ruesga's avatar Jorge Ruesga
Browse files

CMFileManager: Add a dismiss listener for the exceptions YesNo dialogs



Change-Id: I73842a09f87fa12ee5b7d7220627e889165c9f54
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent b05a999d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -324,6 +324,15 @@ public final class ExceptionUtil {
                            }
                        }
                    });
        alert.setOnDismissListener(new DialogInterface.OnDismissListener() {
            @Override
            public void onDismiss(DialogInterface dialog) {
                // Operation cancelled
                if (listener != null) {
                    listener.onCancelled();
                }
            }
        });
        DialogHelper.delegateDialogShow(context, alert);
    }