Fixed sharing files doesn't return control after posting (#1062)
This commit is contained in:
parent
0bb9c0717f
commit
d150cebcd0
|
@ -285,7 +285,9 @@ public final class MainActivity extends BottomSheetActivity implements ActionBut
|
||||||
composeIntent.setAction(intent.getAction());
|
composeIntent.setAction(intent.getAction());
|
||||||
composeIntent.setType(intent.getType());
|
composeIntent.setType(intent.getType());
|
||||||
composeIntent.putExtras(intent);
|
composeIntent.putExtras(intent);
|
||||||
|
composeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
|
||||||
startActivity(composeIntent);
|
startActivity(composeIntent);
|
||||||
|
finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setupDrawer() {
|
private void setupDrawer() {
|
||||||
|
|
Loading…
Reference in New Issue