Skip to content

Commit 2dd9839

Browse files
committed
avoid crash on resuming activity after apk upgrade
1 parent 3550646 commit 2dd9839

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/main/java/org/thoughtcrime/securesms/WebxdcActivity.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ protected boolean immersiveMode() {
183183
@Override
184184
protected void onCreate(Bundle state, boolean ready) {
185185
Bundle b = getIntent().getExtras();
186+
if (b == null) finish();
186187
hideActionBar = b.getBoolean(EXTRA_HIDE_ACTION_BAR, false);
187188

188189
super.onCreate(state, ready);

0 commit comments

Comments
 (0)