diff options
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/binder/include/binder/Status.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/binder/include/binder/Status.h b/libs/binder/include/binder/Status.h index c30ae01d60..aaafa36d40 100644 --- a/libs/binder/include/binder/Status.h +++ b/libs/binder/include/binder/Status.h @@ -91,6 +91,9 @@ public: static Status fromExceptionCode(int32_t exceptionCode, const char* message); + // warning: this is still considered an error if it is constructed with a + // zero value error code. Please use Status::ok() instead and avoid zero + // error codes static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode); static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode, const String8& message); |