summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordestradaa <destradaa@google.com>2014-11-07 18:22:30 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-11-07 18:22:32 +0000
commit3546c9a5821fc8a754e05593d314c49cd6bca0d0 (patch)
tree6a93b27a9a5accaa30989c56d0fc898e76cdc226
parent14638d76bb1be95c6de1df7daad98af4a0ea92d4 (diff)
parenta62050d42c7d76d57ae555ffcb6d8efc5cf79de1 (diff)
downloadframeworks_base-3546c9a5821fc8a754e05593d314c49cd6bca0d0.zip
frameworks_base-3546c9a5821fc8a754e05593d314c49cd6bca0d0.tar.gz
frameworks_base-3546c9a5821fc8a754e05593d314c49cd6bca0d0.tar.bz2
Merge "Mark Gps Raw related APIs as System APIs. b/16727892" into lmp-mr1-dev
-rw-r--r--location/java/android/location/GpsClock.java2
-rw-r--r--location/java/android/location/GpsMeasurement.java2
-rw-r--r--location/java/android/location/GpsMeasurementsEvent.java3
-rw-r--r--location/java/android/location/GpsNavigationMessage.java2
-rw-r--r--location/java/android/location/GpsNavigationMessageEvent.java3
-rw-r--r--location/java/android/location/LocationManager.java4
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);