Commit Graph

76 Commits

Author SHA1 Message Date
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
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
Android (Google) Code Review
f5255c21f4 Merge change 1418 into donut
* changes:
  Show locale names in alphabetical order, in their own language.
2009-05-12 10:22:27 -07:00
Eric Fischer
44ef5575aa Show locale names in alphabetical order, in their own language.
Bug 1776043: List the locales in alphabetical order.
Bug 1703550: List the locales in their own languages instead of
in the current language.
2009-05-11 18:03:39 -07:00
Suchi Amalapurapu
50b516760a Add version number to Installed_App_Details
Change uninstall string value to Factory reset for updated system apps
present a new confirmation dialog when factory resetting a system app.
refresh size, app properties and button's text(to clear, uninstall or factory reset) in onStart
Add new version attribute in layout. Add new layout attributes for app snippets instead of using the one
from ManageApps
Use managed dialogs to avoid leaks
2009-05-11 14:37:18 -07:00
Jim Miller
e3744c8c8a Fix ANR caused by registering multiple listeners in DateTimeSettings.onCreate(). 2009-05-07 18:26:05 -07:00
Michael Chan
6c97742c88 Always add the bt profile to profile list on the arrive of a connect event
Always add the bt profile to profile list on the arrive of a connect event. Previously,
the connect event is ignored if it is a profile that's not known ahead of time.
2009-05-06 18:08:58 -07:00
Robert Greenwalt
e94a4e2747 Fix locale selection to never chose a lang-only locale.
This avoids us using the non-standard lang-only locale when communicating
off device.  Fixes 1810133.
2009-05-06 11:45:06 -07:00
Android (Google) Code Review
b2f497f8bb Merge change 750 into donut
* changes:
  Fixed the Bluetooth On/Off Checkbox in settings so it is enabled/disable properly.
2009-04-29 14:44:34 -07:00
Michael Chan
f25063aee3 Fixed the Bluetooth On/Off Checkbox in settings so it is enabled/disable properly.
In the BroadcastReceiver, pickup the new bluetooth status from the intent instead
of calling back to LocalBluetoothManager.  There could be race condition since
LocalBluetoothManager itself gets the same info via the BroadcastReceiver mechanism.
Also cleaned up logs.
2009-04-29 14:17:06 -07:00
Bjorn Bringert
a9d5be1e5f Show Search settings in Settings app.
The Settings app now shows a "Search settings" item,
if there is an activity that handles the Search settings intent.
This conditionally included settings is handled in the same way
as the sync settings.
2009-04-27 15:16:25 +01:00
Android (Google) Code Review
0306e8b7dc Merge change 201 into donut
* changes:
  Dismiss the dialog in onDestroy so that it doesn't leak on orientation change or other transitions.
2009-04-20 14:45:51 -07:00
Amith Yamasani
519e321609 Dismiss the dialog in onDestroy so that it doesn't leak on orientation change or other transitions. 2009-04-20 14:22:43 -07:00
Evan Millar
9aacc30ad7 Merge branch 'readonly-p4-donut' into donut 2009-04-18 12:27:52 -07:00
Evan Millar
7e85a6f8c6 AI 146853: Add kernel wakelock data to batteryinfo dump.
BUG=1755458

Automated import of CL 146853
2009-04-18 12:26:34 -07:00
Suchi Amalapurapu
a5feaa76ef Recalculate storage size in onStart rather than onCreate
Refresh the size info by invoking PackageManager API in onStart so that
the activity shows accurate storage information on being restarted.
2009-04-07 14:22:58 -07:00
Mike Lockwood
550f0777e9 AI 144591: Fix ClassCastException in RadioInfo settings screen.
BUG=1761604

Automated import of CL 144591
2009-04-05 11:35:30 -07:00
Mike Lockwood
074149da80 AI 144372: Cleanup Settings support for enabling and disabling location providers:
LocationManagerService now listens for changes to settings,
  making LocationManager.updateProviders() unnecessary.
  Removed LocationManager.updateProviders()
  Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
  of enabling or disabling a single location provider.
  This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
  BUG=1729031

Automated import of CL 144372
2009-04-02 21:41:57 -07:00
Amith Yamasani
4bfdcd3e5f AI 144257: am: CL 144256 Need to show opt-in screen for location collection.
Added a screen to the setup wizard, after login, to ask user to
  opt-in for location collection.
  Added a dialog to Settings when user turns on Network location.
  Fixed a security permission issue in LocationManagerService related
  to this change.
  Original author: yamasani
  Merged from: //branches/cupcake/...

Automated import of CL 144257
2009-04-02 11:40:25 -07:00
Wink Saville
f9e024198d AI 144185: Integrate cdma into the main code base.
Automated import of CL 144185
2009-04-02 01:37:03 -07:00
Nick Pelly
b20dd917e2 AI 143788: am: CL 143740 Don't clear supported profiles in settings app if getRemoteClass returns error.
Also clean up the error codes returned by the framework, so that the settings app can properly detect an error.
  Original author: npelly
  Merged from: //branches/cupcake/...

Automated import of CL 143788
2009-03-31 14:56:27 -07:00
Michael Chan
1739bfb333 AI 143480: Fixed the problem where Settings would crash if you enable airplane mode, go
Home, go back to Wireless Settings. This only happens in emulator. Bluetooth
  isn't supported in emulator but the crash was fixed so users can
  enable/disable Airplane Mode.
  BUG=1741119

Automated import of CL 143480
2009-03-30 09:40:42 -07:00
Michael Chan
a322045d92 AI 143116: Added separate error messages for Bluetooth bonding rejections
and bonding failures due to down devices
  BUG=1308546

Automated import of CL 143116
2009-03-27 11:53:26 -07:00
Evan Millar
83368552d1 Automated import from //branches/donutburger/...@142431,142431 2009-03-24 22:42:51 -07:00
Dianne Hackborn
6a5687ebf5 Automated import from //branches/donutburger/...@142396,142396 2009-03-24 22:39:12 -07:00