mirror of
https://github.com/etesync/android
synced 2024-12-22 22:58:29 +00:00
Fix issue with only one of the notifications being clickable.
This commit is contained in:
parent
5d712c72d0
commit
d918622ba2
@ -63,7 +63,7 @@ public class CalendarsSyncAdapterService extends SyncAdapterService {
|
||||
public void onPerformSync(Account account, Bundle extras, String authority, ContentProviderClient provider, SyncResult syncResult) {
|
||||
super.onPerformSync(account, extras, authority, provider, syncResult);
|
||||
|
||||
NotificationHelper notificationManager = new NotificationHelper(getContext(), "journals", Constants.NOTIFICATION_CALENDAR_SYNC);
|
||||
NotificationHelper notificationManager = new NotificationHelper(getContext(), "journals-calendar", Constants.NOTIFICATION_CALENDAR_SYNC);
|
||||
notificationManager.cancel();
|
||||
|
||||
try {
|
||||
|
@ -57,7 +57,7 @@ public class ContactsSyncAdapterService extends SyncAdapterService {
|
||||
@Override
|
||||
public void onPerformSync(Account account, Bundle extras, String authority, ContentProviderClient provider, SyncResult syncResult) {
|
||||
super.onPerformSync(account, extras, authority, provider, syncResult);
|
||||
NotificationHelper notificationManager = new NotificationHelper(getContext(), "journals", Constants.NOTIFICATION_CONTACTS_SYNC);
|
||||
NotificationHelper notificationManager = new NotificationHelper(getContext(), "journals-contacts", Constants.NOTIFICATION_CONTACTS_SYNC);
|
||||
notificationManager.cancel();
|
||||
|
||||
ServiceDB.OpenHelper dbHelper = new ServiceDB.OpenHelper(getContext());
|
||||
|
Loading…
Reference in New Issue
Block a user