Small improvement

This commit is contained in:
M66B 2020-03-13 17:28:22 +01:00
parent 60b4f302e2
commit e88452d32e
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class WidgetUnified extends AppWidgetProvider {
view.putExtra("account", account); view.putExtra("account", account);
view.putExtra("type", type); view.putExtra("type", type);
view.putExtra("refresh", true); view.putExtra("refresh", true);
view.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); view.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
PendingIntent pi = PendingIntent.getActivity(context, ActivityView.REQUEST_FOLDER, view, PendingIntent.FLAG_UPDATE_CURRENT); PendingIntent pi = PendingIntent.getActivity(context, ActivityView.REQUEST_FOLDER, view, PendingIntent.FLAG_UPDATE_CURRENT);
RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.widget_unified); RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.widget_unified);