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);