summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2021-03-22 18:30:08 -0700
committerYohei Yukawa <yukawa@google.com>2021-03-22 18:30:08 -0700
commitb3c3cae188b7c816b545e8f437f4a96086a70c10 (patch)
tree7306d61a8e059e10b77252fb329ee46b6622710e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent57355699048cb905772754325b4ec554e9e14203 (diff)
IMMS#dump() should do OOP dumps only for normal prioirty dump
This CL reworks our previous CL [1], which entirely moved IMMS dump into critical section in bugreport as a side effect while achieving Bug 167948910. What's unexpected in that CL is that InputMethodManagerService#dump() also tries to extract data from InputMethodService process and IME client process by using Binder IPC. Unfortunately such operations aren't guaranteed to complete within the given timeout for critical dump, which is currently set to 500msec. As a result, we sometimes completely lose the log from those two processes when they take some time to complete. With this CL, InputMethodManagerService#dump() will be registered for both critical dump and normal dump, and those potentially expensive out-of-process dumps will be performed only for normal dump phase like we did before that CL. [1]: Ie87eb8423e2bb70f28c330983d45b95e2e07062d ac24994aaa5bd1f70608cb8c72b93b5ae00d90eb Fix: 177462676 Test: Manually verified that bugreport contains IMMS section of: * Critical text dump without dump from IMS and IME client. * Critical proto dump. * Normal text dump with dump from IMS and IME client. * Normal proto dump. Change-Id: I3828f8eab5739939edabccaa5c76320567f9d7c1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions