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

Commit e9ad929e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Adjust for small changes in the native keystore interface"

parents 0fd7d6f3 72030fb7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -304,9 +304,9 @@ public:
            sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
            sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
            if (service != NULL) {
                status_t ret = service->addAuthToken(*auth_token, *auth_token_length);
                if (ret != ResponseCode::NO_ERROR) {
                    ALOGE("Falure sending auth token to KeyStore: %d", ret);
                auto ret = service->addAuthToken(*auth_token, *auth_token_length);
                if (!ret.isOk()) {
                    ALOGE("Failure sending auth token to KeyStore: %" PRId32, int32_t(ret));
                }
            } else {
                ALOGE("Unable to communicate with KeyStore");