Make sure the message list widget reuses an existing MessageList activity

This commit is contained in:
cketti 2021-12-09 02:01:40 +01:00
parent 6c54b324d6
commit 514802e010

View file

@ -135,6 +135,7 @@ public class MessageListRemoteViewFactory implements RemoteViewsService.RemoteVi
}
Intent intent = new Intent();
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
intent.setData(item.uri);
remoteView.setOnClickFillInIntent(R.id.mail_list_item, intent);