OSDN Git Service

b/2622128 Fix crash from editEvent and EventInfoActivity
[android-x86/packages-apps-Calendar.git] / src / com / android / calendar / DeleteEventHelper.java
index ca80c90..44c1312 100644 (file)
@@ -124,6 +124,9 @@ public class DeleteEventHelper {
         new DialogInterface.OnClickListener() {
         public void onClick(DialogInterface dialog, int button) {
             deleteExceptionEvent();
+            if (mExitWhenDone) {
+                mParent.finish();
+            }
         }
     };