Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d2dbf4a authored by igorzas's avatar igorzas
Browse files

Add RemoteAuthService

Add RemoteAuthService that implements a logic of D2DA

Design doc: go/remote-auth-manager-fishfood-design

Test: loaded on device.
Bug: 290092977
Change-Id: I2fdc8b87241439c051c4706e9970639c7c83c763
parent e502678b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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";
  }

+12 −0
Original line number Diff line number Diff line
@@ -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}.