mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 02:38:58 +03:00
fix for #272 - check if more than one key are present in bundle in receive file
This commit is contained in:
parent
9e4400d10d
commit
79caae65bf
1 changed files with 2 additions and 2 deletions
|
@ -545,7 +545,7 @@ public class ReceiveExternalFilesActivity extends FileActivity
|
|||
}
|
||||
|
||||
private boolean uploadTextSnippet() {
|
||||
return getIntent().getStringExtra(Intent.EXTRA_TEXT) != null;
|
||||
return getIntent().getStringExtra(Intent.EXTRA_TEXT) != null && getIntent().getExtras().keySet().size() == 1;
|
||||
}
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
|
|
Loading…
Reference in a new issue