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

Commit 721f75ec authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Keystore 2.0: Rename KeystoreUserManagement KeystoreMaintenance"

parents ffdc8928 71605064
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -525,7 +525,7 @@ java_library {
        "android.hardware.vibrator-V1.3-java",
        "android.security.apc-java",
        "android.security.authorization-java",
        "android.security.usermanager-java",
        "android.security.maintenance-java",
        "android.security.vpnprofilestore-java",
        "android.system.keystore2-V1-java",
        "android.system.suspend.control.internal-java",
+4 −4
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ import android.annotation.NonNull;
import android.annotation.Nullable;
import android.os.ServiceManager;
import android.os.ServiceSpecificException;
import android.security.usermanager.IKeystoreUserManager;
import android.security.maintenance.IKeystoreMaintenance;
import android.system.keystore2.Domain;
import android.system.keystore2.ResponseCode;
import android.util.Log;
@@ -34,9 +34,9 @@ public class AndroidKeyStoreMaintenance {

    public static final int SYSTEM_ERROR = ResponseCode.SYSTEM_ERROR;

    private static IKeystoreUserManager getService() {
        return IKeystoreUserManager.Stub.asInterface(
                ServiceManager.checkService("android.security.usermanager"));
    private static IKeystoreMaintenance getService() {
        return IKeystoreMaintenance.Stub.asInterface(
                ServiceManager.checkService("android.security.maintenance"));
    }

    /**