fix crash when using quick compose tile

This commit is contained in:
Conny Duck 2018-12-13 22:29:12 +01:00
parent 8b00d421ef
commit eb7b000cc1

View file

@ -34,6 +34,8 @@ public class TuskyTileService extends TileService {
@Override
public void onClick() {
startActivityAndCollapse(new Intent(this, ComposeActivity.class));
Intent intent = new Intent(this, ComposeActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivityAndCollapse(intent);
}
}