Fix location based reminders

pull/1569/head
Alex Baker 3 years ago
parent fb98d983a9
commit 03f12b2032

@ -44,7 +44,7 @@ class LocationServiceGooglePlay @Inject constructor(
context,
0,
Intent(context, GoogleGeofenceTransitionIntentService.Broadcast::class.java),
PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT
/*PendingIntent.FLAG_MUTABLE or */PendingIntent.FLAG_UPDATE_CURRENT
)
)
}

@ -56,7 +56,7 @@ class LocationServiceAndroid @Inject constructor(
0,
Intent(context, AndroidGeofenceTransitionIntentService.Broadcast::class.java)
.setData(Uri.parse("tasks://geofence/$place")),
PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT
/*PendingIntent.FLAG_MUTABLE or */PendingIntent.FLAG_UPDATE_CURRENT
)
companion object {

Loading…
Cancel
Save