diff options
author | Andrew Lee <anwlee@google.com> | 2015-02-26 15:38:48 -0800 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-03-02 15:19:11 -0800 |
commit | 811641c94bd642cf3dfd735947ee4ef70d235a6f (patch) | |
tree | 178d741403438525c62c7beb34453c0f2afdd202 /src/com/android/dialer/settings/DialerSettingsActivity.java | |
parent | bf6baa4a0b44166a9b336c1e7d29a69446c0ca8a (diff) |
Add Accessibility settings to top-level.
Followup CL will prevent this from showing if TTY Mode and HAC are
not supported.
Bug: 19372734
Change-Id: I8f1e93efab6447d2099d5eb6e734704d6632e299
Diffstat (limited to 'src/com/android/dialer/settings/DialerSettingsActivity.java')
-rw-r--r-- | src/com/android/dialer/settings/DialerSettingsActivity.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/dialer/settings/DialerSettingsActivity.java b/src/com/android/dialer/settings/DialerSettingsActivity.java index 945ff48d6..ac74a102c 100644 --- a/src/com/android/dialer/settings/DialerSettingsActivity.java +++ b/src/com/android/dialer/settings/DialerSettingsActivity.java @@ -77,6 +77,13 @@ public class DialerSettingsActivity extends PreferenceActivity { target.add(phoneAccountSettingsHeader); } } + + Header accessibilitySettingsHeader = new Header(); + Intent accessibilitySettingsIntent = + new Intent(TelecomManager.ACTION_SHOW_CALL_ACCESSIBILITY_SETTINGS); + accessibilitySettingsHeader.titleRes = R.string.accessibility_settings_title; + accessibilitySettingsHeader.intent = accessibilitySettingsIntent; + target.add(accessibilitySettingsHeader); } @Override |