OSDN Git Service

Improve handling of crashing a11y services.
authorPhil Weaver <pweaver@google.com>
Sat, 30 Jul 2016 00:26:41 +0000 (17:26 -0700)
committerPhil Weaver <pweaver@google.com>
Thu, 4 Aug 2016 22:45:13 +0000 (15:45 -0700)
commita8cfb3733d7022d3a4be87f15701dbac7a17045c
treea69ac19f3c554d368319fff174ef3739eea6f6cf
parent0cf4d47a4094a43984a5215ab1a283b0fdcf87a8
Improve handling of crashing a11y services.

We were confusing handling of services that were unbound with
those that had crashed. We would lose track of services that
has crashed, start new ones, and then when the system restarted
a killed services we would have multiple instances running. It
was possible for this to get very out of hand.

Bug: 30306689
Change-Id: I4e63d25b6d2fec3ec68f450a4602898c43a2b2ad
services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java