Merge "Add RemoteAuthService" into main

This commit is contained in:
Igor Zaslavsky
2023-07-31 16:13:31 +00:00
committed by Gerrit Code Review
2 changed files with 13 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ package android.content {
public abstract class Context {
method @NonNull public android.os.UserHandle getUser();
field public static final String PAC_PROXY_SERVICE = "pac_proxy";
field public static final String REMOTE_AUTH_SERVICE = "remote_auth";
field public static final String TEST_NETWORK_SERVICE = "test_network";
}

View File

@@ -6057,6 +6057,18 @@ public abstract class Context {
@SystemApi
public static final String NEARBY_SERVICE = "nearby";
/**
* Use with {@link #getSystemService(String)} to retrieve a
* {@link android.remoteauth.RemoteAuthManager} to discover,
* register and authenticate via remote authenticator devices.
*
* @see #getSystemService(String)
* @see android.remoteauth.RemoteAuthManager
* @hide
*/
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
public static final String REMOTE_AUTH_SERVICE = "remote_auth";
/**
* Use with {@link #getSystemService(String)} to retrieve a
* {@link android.app.ambientcontext.AmbientContextManager}.