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

* commit '8601ffdd4c0cf864ef3bb95cdd355512a2654656':
  Add @SystemApi to LocationManager methods used by GmsCore (with reflection). Bug: 17515515
This commit is contained in:
David Christie
2014-09-17 22:09:24 +00:00
committed by Android Git Automerger

View File

@@ -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);