Navigate to unified inbox from notification or widget

This commit is contained in:
M66B
2018-11-16 19:19:10 +01:00
parent b0eeff6846
commit 203fcc1eba
3 changed files with 12 additions and 5 deletions

View File

@@ -384,6 +384,7 @@ public class ServiceSynchronize extends LifecycleService {
// Build pending intent
Intent view = new Intent(this, ActivityView.class);
view.setAction("unified");
view.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
PendingIntent piView = PendingIntent.getActivity(
this, ActivityView.REQUEST_UNIFIED, view, PendingIntent.FLAG_UPDATE_CURRENT);