OSDN Git Service

Turning off accessibility feature reboots the device
authorSvetoslav Ganov <svetoslavganov@google.com>
Fri, 5 Aug 2011 13:23:22 +0000 (06:23 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Fri, 5 Aug 2011 14:54:50 +0000 (07:54 -0700)
commit3e4e4af45216aee4d4b009fe842c0324610918eb
tree79cdb68b22a2b76b6ad5ba7d7db28ee67d33a8f1
parent9fbceea01da9d802f2f03b559f78989d2ae50881
Turning off accessibility feature reboots the device

1. The touch explorer uses delayed injection of events
   which can happen after its hosting accessibility
   input filer has been unregistered, thus the explorer
   was trying to inject events when this is not allowed.
   Now upon unregistration of the accessibility explorer
   it resets the state of the touch explorer it hosts.

bug:5105956

Change-Id: I720682abf93382aedf4f431eaac90fd2c781e442
services/java/com/android/server/accessibility/AccessibilityInputFilter.java
services/java/com/android/server/accessibility/TouchExplorer.java