Fix a crash in accessibiility settings.

Change-Id: I27920668191742ab032de7b71c8f71cc35432e9f
This commit is contained in:
Svetoslav
2013-08-08 12:35:36 -07:00
parent 88afb32fc6
commit 3f257c4dfb
2 changed files with 8 additions and 1 deletions

View File

@@ -33,7 +33,8 @@ import java.util.Set;
*/
class AccessibilityUtils {
/**
* @return the set of enabled accessibility services
* @return the set of enabled accessibility services. If there are not services
* it returned the unmodifiable {@link Collections#emptySet()}.
*/
static Set<ComponentName> getEnabledServicesFromSettings(Context context) {
final String enabledServicesSetting = Settings.Secure.getString(