Loading libs/binder/ndk/status.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -27,11 +27,11 @@ AStatus* AStatus_newOk() { } AStatus* AStatus_fromExceptionCode(binder_exception_t exception) { return new AStatus(Status::fromExceptionCode(exception)); return new AStatus(Status::fromExceptionCode(PruneException(exception))); } AStatus* AStatus_fromExceptionCodeWithMessage(binder_exception_t exception, const char* message) { return new AStatus(Status::fromExceptionCode(exception, message)); return new AStatus(Status::fromExceptionCode(PruneException(exception), message)); } AStatus* AStatus_fromServiceSpecificError(int32_t serviceSpecific) { Loading @@ -43,7 +43,7 @@ AStatus* AStatus_fromServiceSpecificErrorWithMessage(int32_t serviceSpecific, co } AStatus* AStatus_fromStatus(binder_status_t status) { return new AStatus(Status::fromStatusT(status)); return new AStatus(Status::fromStatusT(PruneStatusT(status))); } bool AStatus_isOk(const AStatus* status) { Loading Loading
libs/binder/ndk/status.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -27,11 +27,11 @@ AStatus* AStatus_newOk() { } AStatus* AStatus_fromExceptionCode(binder_exception_t exception) { return new AStatus(Status::fromExceptionCode(exception)); return new AStatus(Status::fromExceptionCode(PruneException(exception))); } AStatus* AStatus_fromExceptionCodeWithMessage(binder_exception_t exception, const char* message) { return new AStatus(Status::fromExceptionCode(exception, message)); return new AStatus(Status::fromExceptionCode(PruneException(exception), message)); } AStatus* AStatus_fromServiceSpecificError(int32_t serviceSpecific) { Loading @@ -43,7 +43,7 @@ AStatus* AStatus_fromServiceSpecificErrorWithMessage(int32_t serviceSpecific, co } AStatus* AStatus_fromStatus(binder_status_t status) { return new AStatus(Status::fromStatusT(status)); return new AStatus(Status::fromStatusT(PruneStatusT(status))); } bool AStatus_isOk(const AStatus* status) { Loading