diff options
Diffstat (limited to 'core/jni/android_view_InputChannel.cpp')
-rw-r--r-- | core/jni/android_view_InputChannel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/jni/android_view_InputChannel.cpp b/core/jni/android_view_InputChannel.cpp index 47bb073..4a4393a 100644 --- a/core/jni/android_view_InputChannel.cpp +++ b/core/jni/android_view_InputChannel.cpp @@ -121,9 +121,9 @@ static jobjectArray android_view_InputChannel_nativeOpenInputChannelPair(JNIEnv* String8 name(nameChars); env->ReleaseStringUTFChars(nameObj, nameChars); - InputChannel* serverChannel; - InputChannel* clientChannel; - status_t result = InputChannel::openInputChannelPair(name, & serverChannel, & clientChannel); + sp<InputChannel> serverChannel; + sp<InputChannel> clientChannel; + status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); if (result) { LOGE("Could not open input channel pair. status=%d", result); |