mirror of
https://github.com/MatomoCamp/matomocamp-companion-android.git
synced 2024-09-19 16:13:46 +02:00
Don't use PendingIntent.FLAG_CANCEL_CURRENT so alarms can be properly canceled
This commit is contained in:
parent
4a63b8e186
commit
4faf70f1f6
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ public class AlarmIntentService extends IntentService {
|
|||
Intent intent = new Intent(this, AlarmReceiver.class)
|
||||
.setAction(AlarmReceiver.ACTION_NOTIFY_EVENT)
|
||||
.setData(Uri.parse(String.valueOf(eventId)));
|
||||
return PendingIntent.getBroadcast(this, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);
|
||||
return PendingIntent.getBroadcast(this, 0, intent, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue