Fix lint error

pull/996/head
Alex Baker 4 years ago
parent 404b5c2c07
commit 20ca1c6486

@ -1,5 +1,6 @@
package org.tasks.location
import android.annotation.SuppressLint
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
@ -25,6 +26,7 @@ class GeofenceApi @Inject constructor(
fun update(place: String) = locationDao.getPlace(place).apply(this::update)
@SuppressLint("MissingPermission")
fun update(place: Place?) {
if (place == null || !permissionChecker.canAccessLocation()) {
return

Loading…
Cancel
Save