summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2021-06-29 18:44:56 -0700
committer Yifan Hong <elsk@google.com> 2021-07-15 12:51:46 -0700
commit194acf2849216076f6f6277c39e980622267e2ae (patch)
treed52902705940af3e5f8a7d04cb82c1f6b48da5c5 /libs/gui/QueueBufferInputOutput.cpp
parentf94b148bbd15df6a74679f578527f4a404e973a1 (diff)
RpcSession attaches/detaches thread on JVM (second attempt)
If AndroidRuntimeGetJavaVM exists, attach current thread before the while loop in join, and detach after the while loop. 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: Ie37aea20047294d4c24c79aa95965d6dde5965b3
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions