Open underlying message list when opening thread from widget for specific folder

This commit is contained in:
M66B
2020-09-01 16:26:01 +02:00
parent 0e5b00dac9
commit 0bebca4bf8
2 changed files with 23 additions and 1 deletions

View File

@@ -89,6 +89,8 @@ public class WidgetUnified extends AppWidgetProvider {
Intent thread = new Intent(context, ActivityView.class);
thread.setAction("widget");
thread.putExtra("account", account);
thread.putExtra("folder", folder);
thread.putExtra("filter_archive", !EntityFolder.ARCHIVE.equals(type));
thread.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
PendingIntent piItem = PendingIntent.getActivity(