OSDN Git Service

Enabled accessibility services settings may end with a separator.
authorSvetoslav Ganov <svetoslavganov@google.com>
Thu, 15 Sep 2011 22:26:52 +0000 (15:26 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Thu, 15 Sep 2011 22:26:58 +0000 (15:26 -0700)
commitefe27bfcdb7fd395fa21a21819e85f8633602f3f
treee6a5dd90c6e56d32d15b24e862281767fbaea9d5
parent85eeb1c16a43eda16b8948e3ba966871ae6b73fa
Enabled accessibility services settings may end with a separator.

SetupWizard was adding a separator after the last service name while
building the enabled accessibility services string. This case was not
handled by the settings. Added code to handle that case since it is
possible to have not well-formed settings backed up.

bug:5098493

Change-Id: I8381872037611a7456ca31526c85effdb9949885
src/com/android/settings/AccessibilitySettings.java