summaryrefslogtreecommitdiff
path: root/libs/androidfw/InputDevice.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2012-04-20 11:33:27 -0700
committer Jeff Brown <jeffbrown@google.com> 2012-04-20 11:33:27 -0700
commitf44e39493c471b5e6a0807778c7a6439ea1b8adc (patch)
treed07153558b48cf8ec07d752a0e527bf5679056e2 /libs/androidfw/InputDevice.cpp
parent80a76276dc9440ffad30dc4c820eb7d65f4df368 (diff)
When ANR happens, only remove ANR'd window.
The system bar uses input event injection to inject BACK keys into the application. If the receiving application ANRs, we used to clear the touch state unconditionally. Doing so would prevent the system bar from receiving the ACTION_UP event so the back button would continue to appear pressed until pressed again. Now we are more careful to only remove the specific ANR'd window from the touch state. Other windows should continue to receive touch events as usual. Change-Id: If86bfc323e2c7aed82ca1334bc67da649953168f
Diffstat (limited to 'libs/androidfw/InputDevice.cpp')
0 files changed, 0 insertions, 0 deletions