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

Commit 61ee1eda authored by David Christie's avatar David Christie Committed by Android (Google) Code Review
Browse files

Merge "Add @SystemApi to LocationManager methods used by GmsCore (with...

Merge "Add @SystemApi to LocationManager methods used by GmsCore (with reflection). Bug: 17515515" into lmp-dev
parents fd20f196 4bd34887
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package android.location;

import com.android.internal.location.ProviderProperties;

import android.annotation.SystemApi;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
@@ -808,6 +809,7 @@ public class LocationManager {
     *
     * @hide
     */
    @SystemApi
    public void requestLocationUpdates(LocationRequest request, LocationListener listener,
            Looper looper) {
        checkListener(listener);
@@ -835,6 +837,7 @@ public class LocationManager {
     *
     * @hide
     */
    @SystemApi
    public void requestLocationUpdates(LocationRequest request, PendingIntent intent) {
        checkPendingIntent(intent);
        requestLocationUpdates(request, null, null, intent);