Commit Graph

8 Commits

Author SHA1 Message Date
Amith Yamasani
d79934731c Refactor settings top level activities to use fragments.
Added a base class SettingsPreferenceFragment from which the settings activities should
be derived so that they can behave like fragments. It contains some commonly called
utility methods and dialog conversion to DialogFragment.

Some of the top-level activities can be launched directly without the left pane.
Settings.java acts as a proxy activity that contains just that settings fragment without
the left pane.

There are still a lot of second and third level activities that need to be fragmentized.
This is just the first pass to test the 2-pane layout.
2010-08-18 22:59:33 -07:00
David Brown
6e101d125a Add "Power button ends call" accessibility setting.
This is part 3 of the fix for bug 2364220 "Accessibility improvements for
ending calls".

This change adds a checkbox under "Accessibility settings" to control the
new Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR value, which allows the
user to specify that the Power button should hang up while in-call
(instead of just turning off the screen.)  The checkbox is only shown on
devices that actually have a POWER button.

Yeah, it's a little strange having this under Accessibility (since it's not
that obvious *why* this feature is accessibility-related), but there's no
obvious better place.  See discussion in the bug for more info.

Bug: 2364220

Change-Id: I0fd7cf357972519b390575b9c06a4bbe46ff1c9b
2010-03-11 17:39:11 -08:00
Svetoslav Ganov
f7adf2bd07 Fixing bug 2486048 - Disabling Accessibility does not disable Accessibility services check boxes
Change-Id: Ie5d78c1ddb61241db8259a200a3df1950d767cce
2010-03-09 20:32:20 -08:00
Svetoslav Ganov
80d6c74bb9 Fixing bug 2455152 - Enabled accessibility services are disabled upon restarting accessibility 2010-02-18 17:20:10 -08:00
Charles Chen
05b08a50f8 Adding a prompt to help users download Talkback
(Google's open source screen reader) if they go
to the Accessibility settings screen and do not
have any accessibility tools installed.

This is a fix for bug #2250279
2009-11-16 15:28:31 -08:00
Charles Chen
d218df2787 Fixing bug 2064923.
This is a fix to make sure that the accessibility manager does not start
any of the accessibility services when it is disabled.
2009-08-21 15:14:25 -07:00
Charles Chen
52b221d94b Removing the summary texts for the Accessibility checkbox
as requested by Raman.
2009-06-11 15:54:36 -07:00
svetoslavganov
a05d0dc67e Accessibility feature - settings (replacing 704 and merging with the latest Donut) 2009-05-14 22:26:34 -07:00