Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19592474 authored by Austin O'Neil's avatar Austin O'Neil
Browse files

Update deprecation links in LocationManager to point to non-deprecated methods.

Test: this is a documentation update
Change-Id: I42318b722b9e9cf73e9efee60f43a1dfd5dbcbd8
parent 005f4eab
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2394,8 +2394,8 @@ public class LocationManager {
     * @return true if the listener was successfully added
     * @throws SecurityException if the ACCESS_FINE_LOCATION permission is not present
     *
     * @deprecated use {@link #registerGnssStatusCallback(GnssStatus.Callback)} instead. No longer
     * supported in apps targeting S and above.
     * @deprecated Use {@link #registerGnssStatusCallback(GnssStatus.Callback, Handler)} or {@link
     * #registerGnssStatusCallback(Executor, GnssStatus.Callback)} instead.
     */
    @Deprecated
    @RequiresPermission(ACCESS_FINE_LOCATION)
@@ -2505,7 +2505,8 @@ public class LocationManager {
    /**
     * No-op method to keep backward-compatibility.
     *
     * @deprecated Use {@link #addNmeaListener} instead.
     * @deprecated Use {@link #addNmeaListener(OnNmeaMessageListener, Handler)} or {@link
     * #addNmeaListener(Executor, OnNmeaMessageListener)} instead.
     */
    @Deprecated
    @RequiresPermission(ACCESS_FINE_LOCATION)