| commit | dbc5bac4816f7415b15684b81f82fea7cc004ddf | [log] [tgz] |
|---|---|---|
| author | Steven Moreland <smoreland@google.com> | Fri Apr 16 18:24:47 2021 +0000 |
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Apr 16 18:24:47 2021 +0000 |
| tree | 617038df5bcdb378a3d223d8196dd367b038398f | |
| parent | ee82ef0ed28dd142864e11d9ea6c44bc0830b58b [diff] | |
| parent | b64535d32796d3a02b6f5edd4d7e13d225a71064 [diff] |
Merge "libbinder: service specific error docs" am: 668b7f7184 am: 939d6d34c6 am: 3b49f1aa02 am: b64535d327 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1673454 Change-Id: I0ecdd1f2cfe24855d6bb9cc177b1113d11cce50c
diff --git a/libs/binder/include/binder/Status.h b/libs/binder/include/binder/Status.h index c30ae01..aaafa36 100644 --- a/libs/binder/include/binder/Status.h +++ b/libs/binder/include/binder/Status.h
@@ -91,6 +91,9 @@ 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);