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

Commit a1a97a4c authored by David Christie's avatar David Christie Committed by Android Git Automerger
Browse files

am b2e91428: Merge "Add @SystemApi to LocationManager methods used by GmsCore...

am b2e91428: Merge "Add @SystemApi to LocationManager methods used by GmsCore (with reflection). Bug: 17515515" into lmp-dev

* commit 'b2e914287fc6a7cc4894ea67ec527830c53f0039':
  Add @SystemApi to LocationManager methods used by GmsCore (with reflection). Bug: 17515515
parents 27abd85f 61ee1eda
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);