diff options
author | destradaa <destradaa@google.com> | 2014-11-07 18:43:36 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-07 18:43:36 +0000 |
commit | ffa2b14d6f22d7ba2c6ca0ca392aa927009ac54b (patch) | |
tree | c59fecbbf1d6c3b70abcc5b2bcc9eacc0883638d /location | |
parent | 05b500bfa05a21f76504b7daeba349d3b39a1b7e (diff) | |
parent | 0091629788e883222ad358fa70e2cdfb3d71a296 (diff) | |
download | frameworks_base-ffa2b14d6f22d7ba2c6ca0ca392aa927009ac54b.zip frameworks_base-ffa2b14d6f22d7ba2c6ca0ca392aa927009ac54b.tar.gz frameworks_base-ffa2b14d6f22d7ba2c6ca0ca392aa927009ac54b.tar.bz2 |
am 00916297: am 3546c9a5: Merge "Mark Gps Raw related APIs as System APIs. b/16727892" into lmp-mr1-dev
* commit '0091629788e883222ad358fa70e2cdfb3d71a296':
Mark Gps Raw related APIs as System APIs. b/16727892
Diffstat (limited to 'location')
6 files changed, 16 insertions, 0 deletions
diff --git a/location/java/android/location/GpsClock.java b/location/java/android/location/GpsClock.java index 610d268..22ac1a9 100644 --- a/location/java/android/location/GpsClock.java +++ b/location/java/android/location/GpsClock.java @@ -16,6 +16,7 @@ package android.location; +import android.annotation.SystemApi; import android.os.Parcel; import android.os.Parcelable; import android.util.Log; @@ -26,6 +27,7 @@ import android.util.Log; * * @hide */ +@SystemApi public class GpsClock implements Parcelable { private static final String TAG = "GpsClock"; diff --git a/location/java/android/location/GpsMeasurement.java b/location/java/android/location/GpsMeasurement.java index 1550dc2..1c50181 100644 --- a/location/java/android/location/GpsMeasurement.java +++ b/location/java/android/location/GpsMeasurement.java @@ -16,6 +16,7 @@ package android.location; +import android.annotation.SystemApi; import android.os.Parcel; import android.os.Parcelable; import android.util.Log; @@ -25,6 +26,7 @@ import android.util.Log; * * @hide */ +@SystemApi public class GpsMeasurement implements Parcelable { private static final String TAG = "GpsMeasurement"; diff --git a/location/java/android/location/GpsMeasurementsEvent.java b/location/java/android/location/GpsMeasurementsEvent.java index 94ca920..1366873 100644 --- a/location/java/android/location/GpsMeasurementsEvent.java +++ b/location/java/android/location/GpsMeasurementsEvent.java @@ -17,6 +17,7 @@ package android.location; import android.annotation.NonNull; +import android.annotation.SystemApi; import android.os.Parcel; import android.os.Parcelable; @@ -31,6 +32,7 @@ import java.util.Collections; * * @hide */ +@SystemApi public class GpsMeasurementsEvent implements Parcelable { /** @@ -60,6 +62,7 @@ public class GpsMeasurementsEvent implements Parcelable { * * @hide */ + @SystemApi public interface Listener { /** diff --git a/location/java/android/location/GpsNavigationMessage.java b/location/java/android/location/GpsNavigationMessage.java index 2eb4708..42f8ee4 100644 --- a/location/java/android/location/GpsNavigationMessage.java +++ b/location/java/android/location/GpsNavigationMessage.java @@ -17,6 +17,7 @@ package android.location; import android.annotation.NonNull; +import android.annotation.SystemApi; import android.os.Parcel; import android.os.Parcelable; import android.util.Log; @@ -28,6 +29,7 @@ import java.security.InvalidParameterException; * * @hide */ +@SystemApi public class GpsNavigationMessage implements Parcelable { private static final String TAG = "GpsNavigationMessage"; private static final byte[] EMPTY_ARRAY = new byte[0]; diff --git a/location/java/android/location/GpsNavigationMessageEvent.java b/location/java/android/location/GpsNavigationMessageEvent.java index b61dac0..bd6921c 100644 --- a/location/java/android/location/GpsNavigationMessageEvent.java +++ b/location/java/android/location/GpsNavigationMessageEvent.java @@ -17,6 +17,7 @@ package android.location; import android.annotation.NonNull; +import android.annotation.SystemApi; import android.os.Parcel; import android.os.Parcelable; @@ -28,6 +29,7 @@ import java.security.InvalidParameterException; * * @hide */ +@SystemApi public class GpsNavigationMessageEvent implements Parcelable { /** @@ -56,6 +58,7 @@ public class GpsNavigationMessageEvent implements Parcelable { * * @hide */ + @SystemApi public interface Listener { /** diff --git a/location/java/android/location/LocationManager.java b/location/java/android/location/LocationManager.java index 513a627..0eb4fdc 100644 --- a/location/java/android/location/LocationManager.java +++ b/location/java/android/location/LocationManager.java @@ -1583,6 +1583,7 @@ public class LocationManager { * * @hide */ + @SystemApi public boolean addGpsMeasurementListener(GpsMeasurementsEvent.Listener listener) { return mGpsMeasurementListenerTransport.add(listener); } @@ -1594,6 +1595,7 @@ public class LocationManager { * * @hide */ + @SystemApi public void removeGpsMeasurementListener(GpsMeasurementsEvent.Listener listener) { mGpsMeasurementListenerTransport.remove(listener); } @@ -1606,6 +1608,7 @@ public class LocationManager { * * @hide */ + @SystemApi public boolean addGpsNavigationMessageListener(GpsNavigationMessageEvent.Listener listener) { return mGpsNavigationMessageListenerTransport.add(listener); } @@ -1617,6 +1620,7 @@ public class LocationManager { * * @hide */ + @SystemApi public void removeGpsNavigationMessageListener( GpsNavigationMessageEvent.Listener listener) { mGpsNavigationMessageListenerTransport.remove(listener); |