summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-03-05 03:54:00 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-03-06 19:39:41 +0000
commit5a51a2280743605a51e2f9d632077e9297276520 (patch)
tree16d6402a0f01d742b62ffce08838b88ce55ed11d /libs/ultrahdr/jpegencoderhelper.cpp
parent990d8713a9913136dba9eb57f3b351edaa00be26 (diff)
PointerChoreographer: Do not call the policy with the lock held
Since there is already precedent for InputReader to interact with the policy with its lock held, we must not do the same from other components, since it can result in deadlocks. In this CL, we ensure that the PointerChoreographer does not interact with the policy while holding its lock. The exception is the use of the factory method for PointerController, which is only part of the policy to work around dependency issues with graphics libraries. Bug: 327717240 Test: atest inputflinger_tests Change-Id: Ib81d72898a212275d95f9d84d89a16e7172e108e
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions