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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user