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

Commit b9100c87 authored by Jeff Tinker's avatar Jeff Tinker Committed by android-build-merger
Browse files

Merge "Fix clearkey return code for setSecurityLevel" into pi-dev

am: 19809964

Change-Id: I91fb9fbfe14f4ad576c89d2b696784e9637e239e
parents 04617b67 19809964
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -400,7 +400,7 @@ Return<Status> DrmPlugin::setSecurityLevel(const hidl_vec<uint8_t>& sessionId,

    if (level > SecurityLevel::SW_SECURE_CRYPTO) {
        ALOGE("Cannot set security level > max");
        return Status::BAD_VALUE;
        return Status::ERROR_DRM_CANNOT_HANDLE;
    }

    std::vector<uint8_t> sid = toVector(sessionId);