Commit Graph

124 Commits

Author SHA1 Message Date
Jim Miller
bbb4afa19f Fix 2579923: Make changing lock screen method more discoverable.
This changes the organization of lock screen security settings
to make choosing an alternate unlock method more discoverable.

Instead of having to disable the old lock method to use a new
one, the user now just has one set/change option in lock settings,
with a list of method-specific setting below it.

In addition, we ask the user to confirm their old credentials
before prompting them to choose a new one, which eliminates one
source of confusion.

Also, ChooseLockGeneric now shows a UI if quality isn't specified.
Any unlock method less secure than minimum specified by
DevicePolicyManager (if active) is greyed out.

Change-Id: Iecc6f64d4d3368a583f06f8d5fe9655cc3d5bd3b
2010-04-11 23:28:33 -07:00
Charles Chen
8c8185b260 Fixing bugs 2577511 and 2581920.
Making sure that the language, country, and variant defaults are always
set to something to ensure that there won't be an NPE.
Dismissing the ListPreference dialogs before a rotation to avoid list
data corruption caused by the list being displayed while its data is
being re-initialized.

Change-Id: Iecdb3b4d415542dc8a4db162c930e6a6570a55f2
2010-04-08 16:51:35 -07:00
Daniel Sandler
7811009111 Restore dependency between volume settings and silent mode.
Volume (of the ringer, notifications, media, and alarms) may
no longer be adjusted while the phone is in silent mode.
This was the behavior in Eclair and earlier releases.

This rolls back a small portion of change I724c43aa in the
interest of stability (see bugs listed below for weirdness
that occurs when the ringer's SeekBarVolumizer is visible
when the ringtone stream is muted).

Bug: 2552268
Bug: 2544706
Change-Id: I4858e6d85e5ec8c4bba83b649e24dd5915252eb2
2010-03-30 14:55:23 -04:00
Charles Chen
7ed0c47ce7 Fixing a bug that causes a crash when Install voice data is clicked
in the TTS settings.

Change-Id: Ia9992f105652518a37ba7e4c139810bfc76c6252
2010-03-18 18:50:32 -07:00
Charles Chen
9bb75d3677 Merge "Adding plugin specific settings to TTS settings + changing the UI to be more like the IME settings." 2010-03-16 20:53:56 -07:00
Charles Chen
0a0eb5f7e8 Adding plugin specific settings to TTS settings + changing the UI
to be more like the IME settings.

Change-Id: I0d26042262b4d9e636d3f456e867c725fa56ae55
2010-03-16 20:32:18 -07:00
Irfan Sheriff
47ebb78954 softAp UI changes
Remove channel settings
Add subtext error handling
Remove WEP, keep WPA2 only for now

Bug: 2413908
Change-Id: Ie867e84a0705f0d2185eeb3a4c86a8227446a338
2010-03-16 16:03:13 -07:00
Robert Greenwalt
c3c93e5c62 Add Tether Help UI.
Add a "Help" button to the tethering page that loads on-device html.

Change-Id: I816ec552a4433296a6cb57345a37611eb2a92b37
2010-03-15 17:21:16 -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
Irfan Sheriff
41297ef73a Fix Wi-Fi title reference in settings
Change-Id: Ia17df113bb6dfdc6af1b5d3632a7594f21365485
2010-03-09 13:58:04 -08:00
Robert Greenwalt
204e7c1a6e Clean up the tethering settings screen a bit.
Change-Id: Iadd1cf9245a5ccd38537050a6b6c9d9390400b20
2010-03-09 11:19:37 -08:00
Daniel Sandler
0be152c9bc Remove dependencies within Sound settings.
All checkboxes and other settings will be available to the
user regardless of whether the device is in silent mode.
(Previously, settings such as ringtone and volume were
dimmed if the phone was silent, which was inconvenient.)

Bug: 2496164
Change-Id: I724c43aa4f5b1a12b95097381844a47c5dcf1e0d
2010-03-08 15:50:34 -05:00
Robert Greenwalt
209177aac6 Update Tethering UI
Finalizing some strings and changing the error handling.
2010-03-04 18:24:11 -08:00
Irfan Sheriff
2ae37e8ce0 Get all strings in for Wifi tethering
Bug: 2413908
Change-Id: I3d28fcfcb4a6e4eaf03e57d69f9d2c92730b12e5
2010-03-04 17:40:43 -08:00
Irfan Sheriff
65cff17722 Add AP support for tethering
First phase of the AP support in
UI and framework
Bug: 2421638

Change-Id: I0b6c31be5fe79bd4d33c292464d271b054754e8d
2010-03-04 14:34:52 -08:00
Robert Greenwalt
0affd6a002 Update Tether Settings UI.
Remove the USB notification option.
2010-03-04 12:52:28 -08:00
Daniel Sandler
fc01d062c1 Add a checkbox to the Dock settings to control insertion/removal sound effects.
The sounds are present in the build but are turned off by
default (and there isn't currently a UI to turn them on).

(Mentioned in http://b/2469862)

Change-Id: I9ded1d67cc19204113047aeb8fc8b0123cea1427
2010-03-04 14:06:06 -05:00
Daniel Sandler
385a9e52be Merge "Support new vibrate/silent behavior." 2010-03-01 17:17:08 -08:00
Daniel Sandler
58cf8299d3 Support new vibrate/silent behavior.
The updated settings tree looks like this:

	[ ] Silent mode (unchanged)
	[ ] Allow vibration in silent mode (new)
		Phone vibrate: (changed from boolean)
		( ) Always
		( ) Only in silent mode
		( ) Never

See change I14cf91b0 for explanation & framework support.

Change-Id: I22ba7bcfa5ddf4e545800083c6e80fb655f211e5
2010-02-26 21:01:59 -05:00
Amith Yamasani
1d5c898a3d Fix for 2284833 : Remove big brightness icon and make it a small one on the title bar. 2010-02-26 14:09:37 -08:00
Oscar Montemayor
a110a718ba Apps on SD Card project.
Settings for Manage Applications that allow the user to choose default application installaction location.
Options are: internal flash, SD card, or automatic.
2010-02-22 16:13:36 -08:00
Daniel Sandler
1b35d6dbae Merge "Checkbox (in Sound settings) to control new lockscreen sfx." 2010-02-18 06:21:03 -08:00
Amith Yamasani
0f2e6dec7c Show current locale as summary for Select language setting.
Bug: 2402834
2010-02-17 16:02:39 -08:00
Daniel Sandler
231d880df3 Checkbox (in Sound settings) to control new lockscreen sfx. 2010-02-17 16:41:26 -05:00
Robert Greenwalt
c4764d2483 Update Settings UI regarding tethering.
If tethering is disabled (build var or a gservices property) for the device,
don't show any of the tethering options.  If Usb Tethering is disabled (config.xml) don't show
Usb Options.  If Wifi Tethering is disabled (config.xml) don't show Wifi Options.
2010-02-16 16:56:43 -08:00
Mike LeBeau
766a19b278 Dynamically populate a list of available recognition services in voice settings,
only showing the option to choose if there is more than one to choose from. Use
the new settingsActivity meta-data to target the appropriate settings activity
for the chosen recognizer.
2010-02-12 13:45:04 -08:00
Jim Miller
122b6c85a9 Fix 2332563: Update logic for lockscreen in Settings. 2010-02-11 15:02:11 -08:00
Bjorn Bringert
30e4d96512 Remove USE_LOCATION_FOR_SERVICES from Settings
This has been moved to GoogleSettingsProvider
as part of unbundling.

Part of http://b/issue?id=2383870

Change-Id: Ia8e5725b1749fa95436fade0ea23061eb2ca4822
2010-02-08 21:26:49 +00:00
Robert Greenwalt
3901edbdf5 First pass at USB-only tether settings.
bug:2281900
2010-02-04 09:17:41 -08:00
Christopher Tate
a5a67306a4 Add 'restore on app install?" to Privacy settings UI
Change-Id: I6fe4b05596881ae26ebf536d9774fb3033aa15f3
2010-02-03 15:09:20 -08:00
Chia-chi Yeh
065cd4be64 WifiSettings: rename WifiSettings2 to WifiSettings. 2010-02-03 15:56:55 +08:00
Chia-chi Yeh
df90dd9f55 WifiSettings: remove dead code. 2010-02-03 15:16:54 +08:00
San Mehat
4a3d713f3a Settings: Refactor for new API & remove obsolete setting
Signed-off-by: San Mehat <san@google.com>
2010-02-02 11:24:29 -08:00
Chia-chi Yeh
48090d4066 WifiSettings: revise and add support for editing EAP networks.
Use arrays.xml to store translations for enumerations;
avoid race conditions happened when pop up menu or dialog;
avoid saving configurations with networks disabled;
use the same layout for all the dialogs;
support editing EAP networks;
only unlock keystore before connecting;
and many bug fixes I cannot remember.

The number of lines in the new code is about 1/3 of the old one,
and it improves the readability a lot!
2010-02-02 18:31:58 +08:00
Mike LeBeau
92c3352f89 Add a new "Voice input & output" top-level section of system settings.
This replaces the existing "Text-to-speech" section, placing that
inside, along with a link to the newly exposed voice search settings
(which will soon be expanded) and a link to the LatinIME settings
(pending a link to a new section in LatinIME for just voice settings,
including the comma setting and a new input language setting).

The VoiceSearch and LatinIME links are smart enough to remove themselves
if those don't exist on the device.
2010-01-25 19:30:30 -05:00
Amith Yamasani
992f10240d Refactor settings hierarchy and clump all volumes in one dialog.
Bug:2362077 Bug:2312836 Bug:2166486

Split Sound and Display into separate top-level settings.
All volume settings (including Alarm volume) now in one Volume dialog.
Remove some sub-texts to reduce clutter.
2010-01-25 14:58:34 -08:00
Amith Yamasani
6043f7f0b3 am b9f29667: am 63c6a309: Merge "Add dock icon for top-level settings. #2367275" into eclair
Merge commit 'b9f2966707004b84760b498d8fc05b3c8f144f59'

* commit 'b9f2966707004b84760b498d8fc05b3c8f144f59':
  Add dock icon for top-level settings. #2367275
2010-01-22 12:36:04 -08:00
Amith Yamasani
2197f83b6b am 39c3d10b: am 0e2ab4f8: New top-level Dock in Settings and a Dock Settings screen with Audio item. #2367275
Merge commit '39c3d10bfccd74b26b045e3d6a712d282fba88d8'

* commit '39c3d10bfccd74b26b045e3d6a712d282fba88d8':
  New top-level Dock in Settings and a Dock Settings screen with Audio item. #2367275
2010-01-21 17:54:47 -08:00
Amith Yamasani
f7c5a11a03 Add dock icon for top-level settings. #2367275
Added mdpi and hdpi icons, and updated settings.xml to point to them.
2010-01-20 06:25:32 -08:00
Amith Yamasani
0e2ab4f884 New top-level Dock in Settings and a Dock Settings screen with Audio item. #2367275
Add a new top-level setting for car/desktop dock settings.
Sub menu contains one item - Audio (settings)
Sub text for Audio shows current docked status and launches either the
 audio settings or a dialog saying that you're not docked and you need to
 buy a new dock from Google (kidding).
2010-01-15 11:53:42 -08:00
Amith Yamasani
1a0aba7a94 Merge "Haptic feedback setting doesn't need to be disabled in Silent mode." 2010-01-12 14:24:15 -08:00
Amith Yamasani
18b569ba00 Haptic feedback setting doesn't need to be disabled in Silent mode.
Removed dependency on silent mode setting. Must have been a copy/paste error.
2010-01-12 14:22:51 -08:00
Jim Miller
00d2476d8f Fix 2332563: Add password-lock support to lockscreen 2010-01-11 15:51:59 -08:00
Eric Fischer
da44d9f64a Change the "Brasilia" time zone to follow America/Sao_Paulo DST rules.
Previously it was using America/Araguaina, which does not currently observe
DST.  Brasilia is actually in an area that follows the Sao_Paulo rules.

Bug 2362824
2010-01-08 12:39:44 -08:00
San Mehat
35351faed3 settings: Change unmount button to a mount/unmount toggle
Signed-off-by: San Mehat <san@google.com>
2010-01-06 21:41:47 -08:00
Jeff Sharkey
1c4e96864f Allow bluetooth in airplane mode when in "toggleable" list.
Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS is a list of
radios that can be toggled while in airplane mode.  This CL
changes BluetoothEnabler to respect this.

It parallels the logic in WifiEnabler, which enables OEMs
to allow Wifi changes when in airplane mode.

Most existing devices don't include "bluetooth" in the
toggleable list, which means bluetooth will continue to be
disabled when in airplane mode for those devices.

Fixes http://b/2297314
2009-12-22 14:35:44 -08:00
Charles Chen
5dbc74ac7e Exposing the ability to select a default TTS engine to the
user by adding it into Settings.
2009-12-14 17:00:42 -08:00
Irfan Sheriff
2ff62e2c7b Wifi diagnostic app to enable debug and provide information
This is the first checkin on the wifi diagnostic app. Right now,
it supports using the WifiManager API, shows the configuration details
and provides status on the supplicant, network and wifi state along with
some additional details.

More to come:
- add more API and status on any additional fields
- provide a way to show some logs

Bug: 2302130
2009-12-10 15:07:05 -08:00
Michael Chan
0bd445b974 b/2296110 New Dialog which appears when phone is place on dock.
Change-Id: I58b216ee9b4ca9ce16210309358c0512271e128e
2009-12-03 20:32:38 -08:00
Amith Yamasani
d2b3ab088f Feature #2296147 Settings for Car/Desk Dock on certain devices
This inserts a launcher for the Dock settings dialog, if the
device supports it and is currently docked.
The menu item disappears if the phone is not docked in the car/desk dock.
2009-12-02 15:36:34 -08:00