proper commenting out of the else branch

This commit is contained in:
AndyScherzinger 2016-11-09 19:34:41 +01:00
parent a78aa605b6
commit a514cfb31c
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -530,14 +530,15 @@ public class FileOperationsHelper {
intent.putExtra("mimeType", file.getMimetype()); intent.putExtra("mimeType", file.getMimetype());
mFileActivity.startActivityForResult(Intent.createChooser(intent, mFileActivity.startActivityForResult(Intent.createChooser(intent,
mFileActivity.getString(R.string.set_as)), 200); mFileActivity.getString(R.string.set_as)), 200);
} else { }
// TODO re-enable after resized images is available // TODO re-enable after resized images is available
// else {
// Uri sendUri = Uri.parse("content://" + DiskLruImageCacheFileProvider.AUTHORITY + file.getRemotePath()); // Uri sendUri = Uri.parse("content://" + DiskLruImageCacheFileProvider.AUTHORITY + file.getRemotePath());
// Intent intent = new Intent(Intent.ACTION_ATTACH_DATA); // Intent intent = new Intent(Intent.ACTION_ATTACH_DATA);
// intent.setDataAndType(sendUri, file.getMimetype()); // intent.setDataAndType(sendUri, file.getMimetype());
// intent.putExtra("mimeType", file.getMimetype()); // intent.putExtra("mimeType", file.getMimetype());
// mFileActivity.startActivityForResult(Intent.createChooser(intent, "Set As"), 200); // mFileActivity.startActivityForResult(Intent.createChooser(intent, "Set As"), 200);
} // }
} else { } else {
Log_OC.wtf(TAG, "Trying to send a NULL OCFile"); Log_OC.wtf(TAG, "Trying to send a NULL OCFile");
} }