diff options
author | Wei Wang <weiwa@google.com> | 2019-11-25 16:08:01 -0800 |
---|---|---|
committer | Wei Wang <weiwa@google.com> | 2019-11-27 14:01:09 -0800 |
commit | 621e4cf50491c9afa0a14a5fe408120c640668e4 (patch) | |
tree | cee8897f5d791793c73130e91ee89b09c5812622 | |
parent | 7761845259920729baedcb58e23eb7fbcf478b8a (diff) |
Expose FUSED_PROVIDER to test API.
Test: it compiles
Bug:136079152
Change-Id: I921ae9ed75f2f4d44fda892be4a70bf23f40845c
-rw-r--r-- | api/test-current.txt | 1 | ||||
-rw-r--r-- | location/java/android/location/LocationManager.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/api/test-current.txt b/api/test-current.txt index 94453228e5aa..6f5fef1a4fcb 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -1148,6 +1148,7 @@ package android.location { method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull java.util.concurrent.Executor, @NonNull android.location.LocationListener); method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull android.app.PendingIntent); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setLocationEnabledForUser(boolean, @NonNull android.os.UserHandle); + field public static final String FUSED_PROVIDER = "fused"; } public final class LocationRequest implements android.os.Parcelable { diff --git a/location/java/android/location/LocationManager.java b/location/java/android/location/LocationManager.java index 75e1cd45689c..489349626589 100644 --- a/location/java/android/location/LocationManager.java +++ b/location/java/android/location/LocationManager.java @@ -125,6 +125,7 @@ public class LocationManager { * * @hide */ + @TestApi public static final String FUSED_PROVIDER = "fused"; /** |