diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-05-08 18:53:51 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-05-09 14:53:20 -0700 |
commit | a53de0629f3b94472c0f160f5bbe1090b020feab (patch) | |
tree | d3816b90689fee8b1aee48cdc834ce0f597e99d3 /core/jni/android_util_Binder.cpp | |
parent | 8b2e37e5a0e10d234ffe6815e9a462283cad3d78 (diff) | |
download | frameworks_base-a53de0629f3b94472c0f160f5bbe1090b020feab.zip frameworks_base-a53de0629f3b94472c0f160f5bbe1090b020feab.tar.gz frameworks_base-a53de0629f3b94472c0f160f5bbe1090b020feab.tar.bz2 |
Add callback hack to find out when to load system properties.
Use this to reload the trace and layout bounds properties.
This is ONLY for debugging.
Change-Id: I1c4bdb52c823520c352c5bac45fa9ee31160793c
Diffstat (limited to 'core/jni/android_util_Binder.cpp')
-rw-r--r-- | core/jni/android_util_Binder.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/jni/android_util_Binder.cpp b/core/jni/android_util_Binder.cpp index 0f99fb2..04dc49f 100644 --- a/core/jni/android_util_Binder.cpp +++ b/core/jni/android_util_Binder.cpp @@ -308,6 +308,12 @@ protected: env->DeleteLocalRef(excep2); } + // Need to always call through the native implementation of + // SYSPROPS_TRANSACTION. + if (code == SYSPROPS_TRANSACTION) { + BBinder::onTransact(code, data, reply, flags); + } + //aout << "onTransact to Java code; result=" << res << endl // << "Transact from " << this << " to Java code returning " // << reply << ": " << *reply << endl; |