mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Small improvements
This commit is contained in:
@@ -673,6 +673,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
// Build pending intent
|
||||
Intent why = new Intent(this, ActivityView.class);
|
||||
why.setAction("why");
|
||||
why.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
PendingIntent piWhy = PendingIntent.getActivity(this, ActivityView.REQUEST_WHY, why, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
|
||||
// Build notification
|
||||
@@ -703,6 +704,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
// Build pending intent
|
||||
Intent alert = new Intent(this, ActivityView.class);
|
||||
alert.setAction("alert");
|
||||
alert.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
PendingIntent piAlert = PendingIntent.getActivity(this, ActivityView.REQUEST_ALERT, alert, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
|
||||
// Build notification
|
||||
|
||||
Reference in New Issue
Block a user