diff options
author | destradaa <destradaa@google.com> | 2014-11-07 18:37:16 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-07 18:37:16 +0000 |
commit | 0091629788e883222ad358fa70e2cdfb3d71a296 (patch) | |
tree | ae32526d120de8317cf442e516ccde18f4d802da /location | |
parent | 37f0e4e7eae7bab2b8e04d899a0192b797f3bbe7 (diff) | |
parent | 3546c9a5821fc8a754e05593d314c49cd6bca0d0 (diff) | |
download | frameworks_base-0091629788e883222ad358fa70e2cdfb3d71a296.zip frameworks_base-0091629788e883222ad358fa70e2cdfb3d71a296.tar.gz frameworks_base-0091629788e883222ad358fa70e2cdfb3d71a296.tar.bz2 |
am 3546c9a5: Merge "Mark Gps Raw related APIs as System APIs. b/16727892" into lmp-mr1-dev
* commit '3546c9a5821fc8a754e05593d314c49cd6bca0d0':
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); |