瀏覽代碼

Fix conflict dialog to finish the container activity if BACK is pressed

David A. Velasco 12 年之前
父節點
當前提交
6de96a9817
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/com/owncloud/android/ui/dialog/ConflictsResolveDialog.java

+ 5 - 0
src/com/owncloud/android/ui/dialog/ConflictsResolveDialog.java

@@ -109,6 +109,11 @@ public class ConflictsResolveDialog extends SherlockDialogFragment {
         }
     }
     
+    @Override
+    public void onCancel(DialogInterface dialog) {
+        mListener.ConflictDecisionMade(Decision.CANCEL);
+    }
+    
     public interface OnConflictDecisionMadeListener {
         public void ConflictDecisionMade(Decision decision);
     }