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

Commit 3520c908 authored by Steven Moreland's avatar Steven Moreland
Browse files

HwBinder: don't rely on kernel headers.

Kernel headers are no longer exported from libhwbinder, rely on the API
it exports instead (IBinder::FLAG_ONEWAY instead of TF_ONEWAY).

Bug: 124524556
Test: automated boot test is sufficient
Change-Id: I4d040dbde32d25c21437e06fa805eb0f10c43532
parent d191463b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ status_t JHwBinder::onTransact(
        uint32_t flags,
        TransactCallback callback) {
    JNIEnv *env = AndroidRuntime::getJNIEnv();
    bool isOneway = (flags & TF_ONE_WAY) != 0;
    bool isOneway = (flags & IBinder::FLAG_ONEWAY) != 0;
    ScopedLocalRef<jobject> replyObj(env, nullptr);
    sp<JHwParcel> replyContext = nullptr;