Fix location based reminders

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

@ -44,7 +44,7 @@ class LocationServiceGooglePlay @Inject constructor(
context, context,
0, 0,
Intent(context, GoogleGeofenceTransitionIntentService.Broadcast::class.java), 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, 0,
Intent(context, AndroidGeofenceTransitionIntentService.Broadcast::class.java) Intent(context, AndroidGeofenceTransitionIntentService.Broadcast::class.java)
.setData(Uri.parse("tasks://geofence/$place")), .setData(Uri.parse("tasks://geofence/$place")),
PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT /*PendingIntent.FLAG_MUTABLE or */PendingIntent.FLAG_UPDATE_CURRENT
) )
companion object { companion object {

Loading…
Cancel
Save