Commit Graph

99 Commits

Author SHA1 Message Date
Android (Google) Code Review
02062f44ff Merge change 5391 into donut
* changes:
  Fix an NPE.
2009-06-25 12:38:11 -07:00
Amith Yamasani
1fd2958ad4 Fix an NPE.
Sometimes name is null, compare the other way around.
2009-06-25 12:27:21 -07:00
Android (Google) Code Review
517ce789b4 Merge change 5374 into donut
* changes:
  Remove pitch selection from TTS settings. Use the settings name for the locale property rather than the UI key. Add prefs entry to install the voice data.
2009-06-25 12:18:54 -07:00
Mike Lockwood
b7e46e89d7 Display a warning dialog when the user enables USB debugging.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-25 13:36:00 -04:00
Jean-Michel Trivi
2acc02e942 Remove pitch selection from TTS settings.
Use the settings name for the locale property rather than the UI key.
Add prefs entry to install the voice data.
2009-06-25 10:03:43 -07:00
Amith Yamasani
0f1e11e219 Track native processes.
Add gauge to detail screen and make it look like the item from summary screen.
Some string changes.
2009-06-25 00:40:50 -07:00
Dianne Hackborn
a54672f3a9 Some cleanup of settings launching, adding shortcuts.
- Move the battery usage item from applications to phone info.
- Give the battery usage item a summary.
- Fiddle with the manifest to make it so we can launch parts of the settings
  app without messing up launching of the main app.  (That is, remove
  affinities so they each are treated as different tasks.)
- Add the ability to make shortcuts to some key settings panels.
2009-06-24 20:13:16 -07:00
Jean-Michel Trivi
1e6a45a2d0 Updated TTS settings to support language, country and variant settings.
Disable/enable entries based on whether language files are installed on the phone.
Added entry to install the language files on the phone.
2009-06-23 13:17:13 -07:00
Hung-ying Tyan
d22da2096b Add save-username checkbox in the connect dialog.
* changes
  + Add checkbox to layout file and handling code in related classes.
  + Add new methods to VpnProfileActor.
  + Move dialog handling to VpnSettings from AuthenticatorActor in order
    to support screen orientation change.
  + Hide "Connect" in the context menu if the profile is connecting.
  + Enable connecting profile in case it was disabled in last call.
2009-06-20 11:36:16 +08:00
Android (Google) Code Review
4226b0af53 Merge change 4797 into donut
* changes:
  Use new location of USE_LOCATION_FOR_SERVICES setting (Secure).
2009-06-19 13:09:26 -07:00
Amith Yamasani
41b6daa692 Use new location of USE_LOCATION_FOR_SERVICES setting (Secure).
Due to the need to access the bit from SetupWizard, had to move
the setting to Settings.Secure from Settings.Gservices.
2009-06-19 12:42:10 -07:00
Jean-Michel Trivi
74e565d85d Update the Text-To-Speech settings screen to allow listening to a TTS
example after checking that the data required by the TTS engine is
properly installed.
Removed use of local constants for the the default TTS values, use
the values defined in TextToSpeech.Engine instead.
2009-06-18 18:54:02 -07:00
Amith Yamasani
2fb22c03bd Fixed auto-uncap of Wifi status messages.
Fixes #1852765. Change strings to lowercase and capitalize on demand.
2009-06-17 12:12:51 -07:00
Android (Google) Code Review
f11d7458ea Merge change 4378 into donut
* changes:
  Make the Quick Launch settings show localized application names.
2009-06-17 10:08:23 -07:00
Chung-yih Wang
19e134e494 Use new Keystore APIs in vpn profile editor. 2009-06-17 18:36:13 +08:00
Chung-yih Wang
b2f1c334de Simply the EAP certificate selection in Wifi Setting.
-- use the new keystore APU to save one more selection in WiFi EAP setting.
2009-06-17 15:46:42 +08:00
Amith Yamasani
f06d8698a4 Add setting for allowing Google to use location for better search results. 2009-06-16 22:02:06 -07:00
Eric Fischer
ec598cb91c Make the Quick Launch settings show localized application names.
It looks like when you look up the name of an application bookmark,
you get the name in whatever locale the device was in when it first
booted.  Check the PackageManager to get a name in the current locale,
if possible, to display instead.
2009-06-16 13:31:22 -07:00
Android (Google) Code Review
a78edb5418 Merge change 4127 into donut
* changes:
  Make the SD Card settings use the system file size formatter.
2009-06-15 10:09:41 -07:00
Hung-ying Tyan
ff393bf90b Remove SingleServerProfile import. 2009-06-15 19:37:38 +08:00
Hung-ying Tyan
84cfb0dc9b Remove use of SingleServerProfile.
* changes
  + mv SingleServerEditor.java VpnProfileEditor.java
  + Add loadExtraPreferecesTo() to VpnProfileEditor
  + Make L2tpIpsecEditor extend VpnProfileEditor and use loadExtraPreferencesTo()
  + Modify VpnEditor.getEditor() accordingly
2009-06-15 12:58:58 +08:00
Hung-ying Tyan
a55ae92a13 Remove isCustomized() check as the API is not used for now. 2009-06-15 11:17:30 +08:00
Hung-ying Tyan
71e2d3bc3a Remove LAUNCHER category from VPN settings activity's intent filter.
Also add preference summary to the VPN entry in the security settings.
2009-06-14 17:53:19 +08:00
Eric Fischer
85f4357a4d Make the SD Card settings use the system file size formatter.
The one built into the settings class wasn't internationalized.
2009-06-12 18:10:25 -07:00
Amith Yamasani
0422a3bf61 Minor UI improvements and showing of unplugged duration. 2009-06-12 14:23:15 -07:00
Eric Fischer
188ca77870 Make the Settings side of the date format settings more locale-aware.
Remove the two formats that have a spelled-out month, since applications
using this setting are trying to format numeric dates.

Do not forcibly set the setting the first time you go into Date & Time --
let the setting remain null if it was null before.

Add a choice corresponding to null to the list of format options.  It will
look like "Normal (12-31-2009)" in the list, and will cause the system
to use whatever numeric format the locale calls for.

For the other choices, feed them to the locale-aware formatter so they
will appear with the punctuation that the locale calls for.
2009-06-12 13:23:07 -07:00
Hung-ying Tyan
1617706d25 Add VPN settings classes to Settings app.
PATCH SET 2:
+ Add import com.android.settings.R

PATCH SET 3:
+ Remove @Override interface methods to be compilable by Java 1.5.

PATCH SET 4:
+ Add import android.net.vpn.VpnManager

PATCH SET 5:
+ Add license headers.

PATCH SET 6:
+ Remove Constant.java and move the constants to VpnSettings.
+ Make AuthenticationActor implement DialogInterface's handlers.
+ Remove trailing spaces.

PATCH SET 7:
+ Remove default username.
2009-06-12 15:44:49 +08:00
Android (Google) Code Review
a1ff25c973 Merge change 3973 into donut
* changes:
  Removing the summary texts for the Accessibility checkbox as requested by Raman.
2009-06-11 18:07:51 -07:00
Chung-yih Wang
150d5d84e8 Use the keystore service instead of the direct file access.
Revert back to my merged change 3710.
2009-06-12 08:16:26 +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
Android (Google) Code Review
ed36b1abc1 Merge change 3814 into donut
* changes:
  Fix power widget bluetooth.
2009-06-11 10:20:10 -07:00
Chung-yih Wang
e7e587daf6 Revert "Use the keystore service instead of the direct file acess."
This reverts commit 289705f331.
2009-06-11 18:13:49 +08:00
Chung-yih Wang
e97bfa3c25 Fix the bug of missing EAP setting in wpa_supplicant.conf when a new EAP is configured. 2009-06-11 17:56:04 +08:00
Chung-yih Wang
289705f331 Use the keystore service instead of the direct file acess.
-- removed the temporal Keystore.java.
-- added the empty passphrase for private key.
2009-06-11 17:25:49 +08:00
Android (Google) Code Review
f9bbc3189f Merge change 3494 into donut
* changes:
  Use Phone.[get|set]SmscAddress() instead of OEMHookRaw.
2009-06-10 20:34:09 -07:00
Amith Yamasani
78fd96a1c5 More details in the summary and details screens.
Show packages included, time that a subsystem was on for.
Load label and icon in the background and cache the values.
Switch between totals and since-unplugged.
Other UI improvements.
2009-06-10 20:19:42 -07:00
Jean-Michel Trivi
8036862226 Adding support for selecting the default language for Text-To-Speech in Settings. 2009-06-10 17:12:41 -07:00
Ken Shirriff
17f37f788a Fix power widget bluetooth.
Starting wifi would also start bluetooth, due to a stray line.
bug=1910079
2009-06-10 16:27:19 -07:00
Jean-Michel Trivi
ef0bed33b9 CompatibilityMode settings 2009-06-10 13:57:27 -07:00
Jean-Michel Trivi
ed29a65835 Adding Text-To-Speech default settings in the Settings application. 2009-06-09 10:48:22 -07:00
Chung-yih Wang
0c1f89857a Add EAP/802.1X configuration for WiFi Setting.
1. Remove the isEnterprise() filter in Scanresult.
2. This requires the new fields such as identity, eap, certificate/key
to support EAP authentication in Wifi Settings.
3. Add simple file-based keystore to select the cert/key from UI.

-- Updated from the comments.
-- Fix the bug for passing null pointer for adding spinner items.
2009-06-09 10:11:11 +08:00
jsh
21dd407c10 Use Phone.[get|set]SmscAddress() instead of OEMHookRaw. 2009-06-08 14:58:10 -07:00
Ken Shirriff
03a6110b4f Implement the power-control widget.
This widget allows uses to turn on/off bluetooth, wifi, gps, and sync,
and adjust brightness without going through the settings menu.

The widget provider updates the settings when the buttons are pressed.
The widget provider is also a receiver for events indicating that the
status was updated elsewhere and the buttons need to be changed.
2009-06-08 13:57:26 -07:00
Mike Lockwood
5ed2c4ad43 Listen for changes to location pProvider enabled settings.
This is needed so we can correctly update the network location checkbox
if the network location provider is disabled because the user disagreed
to the terms of service in a dialog shown by the provider.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-08 08:21:12 -04:00
Mike Lockwood
d13308674b Remove Network Location" opt-in dialog from "Security and Settings"
This dialog is being moved to the Network Location Provider itself.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-07 20:11:39 -04:00
Amith Yamasani
7f6aa6283a Add detail page for Battery usage and track GPS and foreground CPU.
Show details such as Cpu time, Cpu foreground time, data sent/received,
and GPS usage.
2009-06-03 16:31:15 -07:00
Wink Saville
e2a14e35aa Update some TODO comments. 2009-05-29 14:06:30 -07:00
Amith Yamasani
2a2daf960c Top level screen for App Fuel Gauge.
Shows sorted list of power usage (with some debug information) by the top 10
apps and subsystems. Doesn't yet take into account certain subsystems such
as data network usage, audio/video DSP usage, Bluetooth and lights other than
screen backlight.

Screen, Idle, Wifi and Voice usage and CPU time are accounted for.

Also need to add detail screens for each item and suggested actions.
2009-05-22 19:41:32 -07:00
Wink Saville
ead6928894 Teleca 2b changes. 2009-05-15 14:08:46 -07:00
svetoslavganov
a05d0dc67e Accessibility feature - settings (replacing 704 and merging with the latest Donut) 2009-05-14 22:26:34 -07:00