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

Commit 88e25c08 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: service specific error docs

Service specific error codes may be 0, but this is confusing.

Not making this a log or error because this API and the Java API accept
this error code as valid already.

Fixes: 185131910
Test: boot and check logs

Change-Id: Ifa963dd3fd872d016368dbd660e26cad63c15723
parent 2c2c5d19
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);