summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-02-24 06:32:49 -0800
committer Prabir Pradhan <prabirmsp@google.com> 2022-03-02 11:57:51 +0000
commitf1a82ef0ef906444a03755b56820a679de92c14e (patch)
treee2a624f1c5fd249ad2b457c84901ae9b82d6d525 /libs/androidfw/StringPool.cpp
parentcc9e167538ce3d7b87ca9c2b423a6b4aa4ab0674 (diff)
Configure handwriting window with the IME's pid and uid for ANRs
When starting a handwriting session, update the handwriting input window so that it is configured with the IME's pid and uid. This means any ANRs that occur due to the handwriting input window will be directed to the IME process. Since oneway binder calls do not have pid information, we cannot use Binder.getCallingPid() to get the pid of the IME. Instead, we report the pid from IMS when starting handwriting. Bug: 210978621 Test: manual with custom IME, verify ANR is directed to IME. Change-Id: Ia6963eb02cad22c7f604896e6c78ed31c84e32f6 Merged-In: Ia6963eb02cad22c7f604896e6c78ed31c84e32f6 (cherry picked from commit 58df52232a31ab27fcc995c3223999ba526a8dd1)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions