Lint: fix AGP7.0.0 found linting errors.

This commit is contained in:
Dennis Guse
2021-07-29 21:41:01 +02:00
parent fd1a53d1a6
commit 54be1b74fb
4 changed files with 12 additions and 15 deletions
@@ -44,6 +44,8 @@ public class LocationHandler implements LocationListener, GpsStatus.GpsStatusLis
gpsStatus.start();
}
@SuppressWarnings({"MissingPermission"})
//TODO upgrade to AGP7.0.0/API31 started complaining about removeUpdates.
public void onStop() {
lastTrackPoint = null;
if (locationManager != null) {