The TtsSettingsActivity class uses addPreferencesFromResource and getPreferenceScreen which are deprecated as of API 17. This should use the PreferenceFragment class that was introduced in API 11.
This will work as eSpeakActivity disables the button that opens the TtsSettingsActivity on API 13 and earlier. Also, the SettingsProvider class is exposed for API 13 and earlier, so TtsSettingsActivity does not get called by the Android settings application.
The
TtsSettingsActivity
class usesaddPreferencesFromResource
andgetPreferenceScreen
which are deprecated as of API 17. This should use thePreferenceFragment
class that was introduced in API 11.This will work as
eSpeakActivity
disables the button that opens theTtsSettingsActivity
on API 13 and earlier. Also, theSettingsProvider
class is exposed for API 13 and earlier, soTtsSettingsActivity
does not get called by the Android settings application.