diff --git a/core/jni/android_os_HwBinder.cpp b/core/jni/android_os_HwBinder.cpp index cbae2da042810..b6427c9aa01c0 100644 --- a/core/jni/android_os_HwBinder.cpp +++ b/core/jni/android_os_HwBinder.cpp @@ -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 replyObj(env, nullptr); sp replyContext = nullptr;