commit | 0f9c5c7d0bc52e16438f7abb8b5060854ccb7867 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Jun 29 18:44:56 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Jul 01 13:44:21 2021 -0700 |
tree | 5e2bb939ba7b548933a90d0bad2509913c70c9b1 | |
parent | 7716e351eab610e41e454624937f8f1839aba027 [diff] |
RpcSession attaches/detaches JVM for Java thread If javaAttachThread / javaDetachThread exists, run them before and after the while loop in join. This ensures the Java thread is attached / detached appropriately for binder threads that handles RPC calls. Test: run aservice on Java services Bug: 190450693 Change-Id: I23f171dd1e08dfacfbbb46ecc9564cbf42d6f353