projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
ui
/
activity
/
FileDisplayActivity.java
diff --git
a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java
b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java
index
f796aa4
..
a5b324f
100644
(file)
--- a/
src/com/owncloud/android/ui/activity/FileDisplayActivity.java
+++ b/
src/com/owncloud/android/ui/activity/FileDisplayActivity.java
@@
-851,7
+851,7
@@
OnSslUntrustedCertListener, OnEnforceableRefreshListener {
} else if (item == 1) {
Intent action = new Intent(Intent.ACTION_GET_CONTENT);
action = action.setType("*/*").addCategory(Intent.CATEGORY_OPENABLE);
} else if (item == 1) {
Intent action = new Intent(Intent.ACTION_GET_CONTENT);
action = action.setType("*/*").addCategory(Intent.CATEGORY_OPENABLE);
- //
putExtra
is only supported on api level 18+
+ //
Intent.EXTRA_ALLOW_MULTIPLE
is only supported on api level 18+
if(Build.VERSION.SDK_INT >= 18) {
action.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);
}
if(Build.VERSION.SDK_INT >= 18) {
action.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);
}