1
0
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:
Tom Hacohen 2017-02-28 23:03:28 +00:00
parent 5d712c72d0
commit d918622ba2
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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());