Fixed sharing files doesn't return control after posting (#1062)
This commit is contained in:
parent
c655100de7
commit
7e2d8d6bfc
@ -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
Block a user