From 90b6a37bd2ebb16fed5f863e31e135e093dfbc14 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Mon, 9 Jan 2017 17:58:33 -0800 Subject: [PATCH] BpBase -> BpHwBase Test: compiles Bug: 33554989 Change-Id: I6ed40f4d0ac08876ab804720b193a17b49a93890 --- core/jni/android_os_HwBinder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/jni/android_os_HwBinder.cpp b/core/jni/android_os_HwBinder.cpp index 20bb885eb578a..e65390047c552 100644 --- a/core/jni/android_os_HwBinder.cpp +++ b/core/jni/android_os_HwBinder.cpp @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -262,7 +262,7 @@ static void JHwBinder_native_registerService( sp binder = JHwBinder::GetNativeContext(env, thiz); /* TODO(b/33440494) this is not right */ - sp base = new hidl::base::V1_0::BpBase(binder); + sp base = new hidl::base::V1_0::BpHwBase(binder); auto manager = hardware::defaultServiceManager(); @@ -331,7 +331,7 @@ static jobject JHwBinder_native_getService( } sp service = hardware::toBinder< - hidl::base::V1_0::IBase, hidl::base::V1_0::BpBase>(ret); + hidl::base::V1_0::IBase, hidl::base::V1_0::BpHwBase>(ret); env->ReleaseStringUTFChars(ifaceNameObj, ifaceName); ifaceName = NULL;