fix for #272 - check if more than one key are present in bundle in receive file

This commit is contained in:
Andy Scherzinger 2016-09-19 18:56:33 +02:00
parent 9e4400d10d
commit 79caae65bf

View file

@ -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")