summaryrefslogtreecommitdiffstats
path: root/core/jni
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2014-09-25 17:41:34 -0700
committerDianne Hackborn <hackbod@google.com>2014-09-25 17:48:44 -0700
commit017c6a28bee788d2ba5550548ea844d0236bc40e (patch)
treebf0d14fabf91512f8f94ee6591a6e3b22d58c016 /core/jni
parent820a08a55581d2f9c8d39c4e197250fb8ded5ab5 (diff)
downloadframeworks_base-017c6a28bee788d2ba5550548ea844d0236bc40e.zip
frameworks_base-017c6a28bee788d2ba5550548ea844d0236bc40e.tar.gz
frameworks_base-017c6a28bee788d2ba5550548ea844d0236bc40e.tar.bz2
Work on issue #17656716: Unhandled exception in Window Manager
Create descriptive errors when sending unreasonably large parcels through IPC. Change-Id: Ie93b5372a8ed87541db282876c4eeeae69a1e8bd
Diffstat (limited to 'core/jni')
-rw-r--r--core/jni/android_util_Binder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_util_Binder.cpp b/core/jni/android_util_Binder.cpp
index 81e887d..2dbd382 100644
--- a/core/jni/android_util_Binder.cpp
+++ b/core/jni/android_util_Binder.cpp
@@ -1239,7 +1239,7 @@ static const JNINativeMethod gBinderProxyMethods[] = {
{"pingBinder", "()Z", (void*)android_os_BinderProxy_pingBinder},
{"isBinderAlive", "()Z", (void*)android_os_BinderProxy_isBinderAlive},
{"getInterfaceDescriptor", "()Ljava/lang/String;", (void*)android_os_BinderProxy_getInterfaceDescriptor},
- {"transact", "(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z", (void*)android_os_BinderProxy_transact},
+ {"transactNative", "(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z", (void*)android_os_BinderProxy_transact},
{"linkToDeath", "(Landroid/os/IBinder$DeathRecipient;I)V", (void*)android_os_BinderProxy_linkToDeath},
{"unlinkToDeath", "(Landroid/os/IBinder$DeathRecipient;I)Z", (void*)android_os_BinderProxy_unlinkToDeath},
{"destroy", "()V", (void*)android_os_BinderProxy_destroy},