From 811641c94bd642cf3dfd735947ee4ef70d235a6f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 26 Feb 2015 15:38:48 -0800 Subject: 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 --- src/com/android/dialer/settings/DialerSettingsActivity.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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 -- cgit v1.2.3