mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 21:43:38 +00:00
parent
aa37d6e7f9
commit
d935be7b0a
@ -119,6 +119,10 @@ public class ShareActivity extends PassphraseRequiredActionBarActivity
|
|||||||
|
|
||||||
private Uri getStreamExtra() {
|
private Uri getStreamExtra() {
|
||||||
Uri streamUri = getIntent().getParcelableExtra(Intent.EXTRA_STREAM);
|
Uri streamUri = getIntent().getParcelableExtra(Intent.EXTRA_STREAM);
|
||||||
|
if (streamUri == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
if (streamUri.getAuthority().equals("com.google.android.apps.photos.contentprovider") &&
|
if (streamUri.getAuthority().equals("com.google.android.apps.photos.contentprovider") &&
|
||||||
streamUri.toString().endsWith("/ACTUAL"))
|
streamUri.toString().endsWith("/ACTUAL"))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user