summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Cosmin Băieș <cosminbaies@google.com> 2023-11-02 17:29:25 +0100
committer Cosmin Băieș <cosminbaies@google.com> 2023-11-08 12:48:25 +0100
commitcf741ea84c2fd8c1579b8f234821f3be04d37f63 (patch)
tree6d9a72a6eb7a2855862fccd46849bc5adf5140d6 /libs/hwui/FrameInfoVisualizer.cpp
parent94fb5cf2a38373d109f9b61470c7e501e9ddf6b6 (diff)
Fix NPE in IMM setInteractive
This fixes a null pointer exception in InputMethodManager when handling a setInteractive call, which was triggered when the root view of the focused window has been removed between posting this call on the UI thread and actually handling it. This also improves the performance of this call by first checking if we are already on the UI thread, in which case we can handle it directly. Bug: 283146523 Test: n/a Change-Id: I1a0734bbb7e5b4b28f1dbe73f7e7a3e8e4441396
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions