commit | 59aeae8eb1b6c36407b5ad4ce851ab2d847b8ea1 | [log] [tgz] |
---|---|---|
author | Alice Ryhl <aliceryhl@google.com> | Wed Aug 25 10:21:26 2021 +0000 |
committer | Alice Ryhl <aliceryhl@google.com> | Tue Oct 19 08:59:13 2021 +0000 |
tree | 393666426a15806a3a4ea39b01001931ef45b29f | |
parent | 269a5d6d937d9b39056aa6f416034ede0ecbafb1 [diff] |
binder: add an isHandlingTransaction method This method is needed for aosp/1806578 because, although asynchronous binder calls normally need to be offloaded to a separate thread, this is not the case for such calls that happen during the handling of another binder transaction. The implementation of this method was based on the Java JNI binder interface in `frameworks/base/core/jni/android_util_Binder.cpp`. Test: m Change-Id: Ia6d59f3f466911a27243476714cc5acf2eb4c629