Skip to content

Commit

Permalink
Merge pull request #15 from pamafe1976/main
Browse files Browse the repository at this point in the history
  • Loading branch information
natsuk4ze authored May 16, 2024
2 parents 6d0404f + 0be8f17 commit 35c68e3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package studio.midoridesign.compassx;

import android.Manifest;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageManager;
Expand All @@ -12,6 +13,7 @@
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import androidx.core.content.ContextCompat;
import io.flutter.embedding.engine.plugins.FlutterPlugin;
import io.flutter.plugin.common.PluginRegistry;
Expand Down Expand Up @@ -41,6 +43,11 @@ public void onLocationChanged(Location location) {
currentLocation = location;
}

@SuppressWarnings({"deprecation", "RedundantSuppression"})
@TargetApi(28)
@Override
public void onStatusChanged(String provider, int status, Bundle extras) {}

@Override
public void onProviderEnabled(String provider) {}

Expand Down

0 comments on commit 35c68e3

Please sign in to comment.