OSDN Git Service

Reset input dispatcher targets when focus changes apps.
authorJeff Brown <jeffbrown@google.com>
Wed, 27 Jul 2011 18:50:51 +0000 (11:50 -0700)
committerJeff Brown <jeffbrown@google.com>
Wed, 27 Jul 2011 18:50:51 +0000 (11:50 -0700)
commit5ea29ab7efa9a9ae22345f15a7cb9be3c5e1bbf5
tree4403ea968de41dad277a7eb08ce00d65d43f1e3f
parentbc68a59c024bdb745dac8e2ec7408a9f30595f1a
Reset input dispatcher targets when focus changes apps.

This fixes an issue where an ANR can occur in a newly focused
application through no fault of its own, simply because
the previous app took a little while to transfer focus to
the new app.

Bug: 4584620
Change-Id: If3227eb68d92a09a108e9de7f0afcbd9a5dbdead
services/input/InputDispatcher.cpp