Fixes null uri
This commit is contained in:
parent
2c5b8d48a9
commit
c86c1c48e9
|
@ -822,7 +822,7 @@ public class TootActivity extends BaseActivity implements OnRetrieveSearcAccount
|
|||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
Bundle extras = intent.getExtras();
|
||||
if (extras != null) {
|
||||
if (extras != null && extras.getString("imageUri") != null) {
|
||||
Uri imageUri = Uri.parse(extras.getString("imageUri"));
|
||||
picture_scrollview.setVisibility(View.VISIBLE);
|
||||
if( imageUri == null) {
|
||||
|
|
Loading…
Reference in New Issue