summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/EventControlThread.cpp
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2018-03-02 17:19:13 +0000
committer Michael Wright <michaelwr@google.com> 2018-03-02 17:24:22 +0000
commit2b3c33095e624a42040f35f8005d88d9cf16aa4d (patch)
treeac07d894c833e6498f24304907694724ccbb4bd9 /services/surfaceflinger/EventControlThread.cpp
parentbad8c0a72641f7b54be6d2ffc4733d087c1693b7 (diff)
Log warnings for slow input event interceptions.
InputDispatcher is mostly self-contained, but reaches out to the rest of the world when it checks to see if an event needs to be intercepted. We should make sure these interceptions stay fast as it blocks the whole input system when they aren't. Worse, if the reason we're slow is that we've called into an ANRing part of the system, we won't actually be able to trigger the ANR and dump stacks until after its already recovered. Also, apply constexpr to a few more constants. Bug: 72113907 Test: build, flash, see it complain if I make it artificially slow Change-Id: Iff4a4fbeda963a00538720eebdb3fd5bd81f9875
Diffstat (limited to 'services/surfaceflinger/EventControlThread.cpp')
0 files changed, 0 insertions, 0 deletions