Commit Graph

3 Commits

Author SHA1 Message Date
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
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