OSDN Git Service

Fake accessibility service used by UiAutomation not destroyed.
authorSvetoslav <svetoslavganov@google.com>
Thu, 28 Feb 2013 02:24:28 +0000 (18:24 -0800)
committerSvetoslav <svetoslavganov@google.com>
Thu, 28 Feb 2013 02:32:17 +0000 (18:32 -0800)
commit3c55e5c6595d28c64f5a760947c66fdefa2481e2
treeb4e37137661ff97004653f50adb413664847fd16
parent9ad665417713398524d425f63b0d6fa751244237
Fake accessibility service used by UiAutomation not destroyed.

UiAutomation registers a fake accessibility service to introspect
the screen. Upon the death of the shell process that started an
instrumentation in which a UiAutomation resides the connection
between the UiAutomation and the system is kept alive allowing
the instrumentation to introspect the screen even after the death
of the shell process.

bug:8285905

Change-Id: I1a16d78abbea032116c4baed175cfc0d5dedbf0c
core/java/android/app/UiAutomationConnection.java
core/java/android/view/accessibility/IAccessibilityManager.aidl
services/java/com/android/server/accessibility/AccessibilityManagerService.java