Skip to content

Commit

Permalink
Suppress deprecation warning for onStatusChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
pamafe1976 committed May 16, 2024
1 parent 07734d8 commit f7a632a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public void onLocationChanged(Location location) {
currentLocation = location;
}

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

Expand Down

0 comments on commit f7a632a

Please sign in to comment.