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

Commit b64535d3 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "libbinder: service specific error docs" am: 668b7f71 am: 939d6d34 am: 3b49f1aa

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1673454

Change-Id: I6d85a7faea3fad3d20c9f8c9d2e4580f08e9f3c1
parents 8555df3c 3b49f1aa
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -91,6 +91,9 @@ public:
    static Status fromExceptionCode(int32_t exceptionCode,
    static Status fromExceptionCode(int32_t exceptionCode,
                                    const char* message);
                                    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);
    static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode,
    static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode,
                                           const String8& message);
                                           const String8& message);