check for null Intent.EXTRA_STREAM

Fixes #3413
Closes #3414
// FREEBIE
pull/1/head
Rhodey Orbits 9 years ago committed by Moxie Marlinspike
parent aa37d6e7f9
commit d935be7b0a

@ -119,6 +119,10 @@ public class ShareActivity extends PassphraseRequiredActionBarActivity
private Uri getStreamExtra() {
Uri streamUri = getIntent().getParcelableExtra(Intent.EXTRA_STREAM);
if (streamUri == null) {
return null;
}
if (streamUri.getAuthority().equals("com.google.android.apps.photos.contentprovider") &&
streamUri.toString().endsWith("/ACTUAL"))
{

Loading…
Cancel
Save