mirror of
https://github.com/nextcloud/android.git
synced 2024-12-18 23:11:58 +03:00
proper commenting out of the else branch
This commit is contained in:
parent
a78aa605b6
commit
a514cfb31c
1 changed files with 3 additions and 2 deletions
|
@ -530,14 +530,15 @@ public class FileOperationsHelper {
|
|||
intent.putExtra("mimeType", file.getMimetype());
|
||||
mFileActivity.startActivityForResult(Intent.createChooser(intent,
|
||||
mFileActivity.getString(R.string.set_as)), 200);
|
||||
} else {
|
||||
}
|
||||
// TODO re-enable after resized images is available
|
||||
// else {
|
||||
// Uri sendUri = Uri.parse("content://" + DiskLruImageCacheFileProvider.AUTHORITY + file.getRemotePath());
|
||||
// Intent intent = new Intent(Intent.ACTION_ATTACH_DATA);
|
||||
// intent.setDataAndType(sendUri, file.getMimetype());
|
||||
// intent.putExtra("mimeType", file.getMimetype());
|
||||
// mFileActivity.startActivityForResult(Intent.createChooser(intent, "Set As"), 200);
|
||||
}
|
||||
// }
|
||||
} else {
|
||||
Log_OC.wtf(TAG, "Trying to send a NULL OCFile");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue