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

Commit b37b47df authored by Thurston Dang's avatar Thurston Dang Committed by Gerrit Code Review
Browse files

Merge "[trusty][apploader] Handle APPLOADER_ERR_POLICY_VIOLATION"

parents f5ca0278 45dbdd1e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -223,6 +223,9 @@ static ssize_t read_response(int tipc_fd) {
        case APPLOADER_ERR_INVALID_VERSION:
            LOG(ERROR) << "Error: invalid application version";
            break;
        case APPLOADER_ERR_POLICY_VIOLATION:
            LOG(ERROR) << "Error: loading denied by policy engine";
            break;
        default:
            LOG(ERROR) << "Unrecognized error: " << resp.error;
            break;
+1 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ enum apploader_error : uint32_t {
    APPLOADER_ERR_ALREADY_EXISTS,
    APPLOADER_ERR_INTERNAL,
    APPLOADER_ERR_INVALID_VERSION,
    APPLOADER_ERR_POLICY_VIOLATION,
};

/**