Skip to content
Snippets Groups Projects
Commit 11a0b63b authored by Soonil Nagarkar's avatar Soonil Nagarkar
Browse files

Make FUSED_PROVIDER SystemApi

This should always have been SystemApi, as most fused providers are
implemented outside system server. There is a strong argument this
should actually be public API, but I'm punting on that for now until we
can give it more consideration.

Bug: 173030969
Test: none
Change-Id: If5ba10accbe2f6ce47d749536d053e1bd8e297f8
parent 79f3adcf
No related branches found
No related tags found
No related merge requests found
......@@ -4190,6 +4190,7 @@ package android.location {
method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setLocationEnabledForUser(boolean, @NonNull android.os.UserHandle);
method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean setProviderEnabledForUser(@NonNull String, boolean, @NonNull android.os.UserHandle);
method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean unregisterGnssBatchedLocationCallback(@NonNull android.location.BatchedLocationCallback);
field public static final String FUSED_PROVIDER = "fused";
}
 
public final class LocationRequest implements android.os.Parcelable {
......
......@@ -4130,6 +4130,7 @@ package android.location {
method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setLocationEnabledForUser(boolean, @NonNull android.os.UserHandle);
method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean setProviderEnabledForUser(@NonNull String, boolean, @NonNull android.os.UserHandle);
method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean unregisterGnssBatchedLocationCallback(@NonNull android.location.BatchedLocationCallback);
field public static final String FUSED_PROVIDER = "fused";
}
 
public final class LocationRequest implements android.os.Parcelable {
......
......@@ -202,6 +202,7 @@ public class LocationManager {
*
* @hide
*/
@SystemApi
@TestApi
public static final String FUSED_PROVIDER = "fused";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment