Fixed sharing files doesn't return control after posting (#1062)

main
Mihai Boisteanu 6 years ago committed by Konrad Pozniak
parent c655100de7
commit 7e2d8d6bfc
  1. 2
      app/src/main/java/com/keylesspalace/tusky/MainActivity.java

@ -285,7 +285,9 @@ public final class MainActivity extends BottomSheetActivity implements ActionBut
composeIntent.setAction(intent.getAction());
composeIntent.setType(intent.getType());
composeIntent.putExtras(intent);
composeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(composeIntent);
finish();
}
private void setupDrawer() {

Loading…
Cancel
Save