Commit Graph

2998 Commits

Author SHA1 Message Date
Dianne Hackborn
c9a477aeac am e3cfa9bc: am 13bac39d: Remove obsolete compat mode UI.
* commit 'e3cfa9bc557e92d7a1b01270a405a9bd99700310':
  Remove obsolete compat mode UI.
2011-06-24 12:41:05 -07:00
Dianne Hackborn
e3cfa9bc55 am 13bac39d: Remove obsolete compat mode UI.
* commit '13bac39d2120a82b8a22b52f0db0727aa04b1f38':
  Remove obsolete compat mode UI.
2011-06-24 12:24:21 -07:00
Jason parks
4548cdf3a9 Check to see if the power source is a valid charger.
This will allow for devices that can be powered
over USB to be encrypted while plugged into USB.

Bug: 4901080
Change-Id: I7eaa2146c1c4e4dfc9724b11a08ff13a16eda117
2011-06-24 14:06:03 -05:00
Dianne Hackborn
127757637b Merge "Add "large text" accessibility option." 2011-06-24 10:47:47 -07:00
Jeff Sharkey
f54f435f1f More data usage chart iteration, app details.
Moved app details back into single Fragment to support animations and
template tabs.  Show the network in background behind app details
chart series to match designs.

Clamping sweeps at axis boundaries.

Bug: 4813014, 4598460, 4818029
Change-Id: I72c0b21ee1d595e4da31d293ae0dab9e801041f3
2011-06-23 22:30:05 -07:00
Dianne Hackborn
13bac39d21 Remove obsolete compat mode UI.
Change-Id: Ie16f70af4b8d6f33db21363a478049659669e0b3
2011-06-23 17:04:06 -07:00
Dianne Hackborn
00453157ae Add "large text" accessibility option.
Also re-arrange the UI a bit to clearly put the button for
enabling/disabiling accessibility services along-side said
services.

Change-Id: Ica1ddecddf6e97800909ba6bea9ce4e124b59c01
2011-06-23 16:36:43 -07:00
Gilles Debunne
2c12ed9e4b Merge "Refactoring in Settings/Applications" 2011-06-23 12:57:17 -07:00
Gilles Debunne
f52f509446 Merge "Bug 4879032: NPE fix when restarting Settings." 2011-06-23 10:47:15 -07:00
Jeff Sharkey
52c3f4461b Iterate on data usage chart UI.
Switched to inflating chart views from XML, using attributes for
configuration.  Start using drawable assets for chart components
instead of manually painting.  Include hand-cut assets, and animate
between states when touched to invoke.

Clamp sweeps to valid chart ranges and prepare for sweep labels.

Bug: 4768483, 4598460
Change-Id: Ic660c35bec826eb5e3f6a1dde3cc04d8c437ef2b
2011-06-23 00:39:47 -07:00
Kenny Root
811d5c154e Merge "Change dummy calendar setting during locale change" 2011-06-22 20:55:58 -07:00
Gilles Debunne
b396c9b8c0 Bug 4879032: NPE fix when restarting Settings.
Change-Id: I65b9fb220bf51357c02555902cdb263df7db1016
2011-06-22 17:24:18 -07:00
Gilles Debunne
2c88a877f8 Refactoring in Settings/Applications
Battery, Development moved to main menu.
Unknown sources moved to Security.
Main menu links directly to ManageApplications.
ApplicationSettings was kept in case an other app referenced it.

Change-Id: I0271d4222cfc192f9235f21e06bf3b56f77db1a4
2011-06-22 11:20:48 -07:00
satok
f61d5570ee Merge "Add an activity to show an ime switch dialog" 2011-06-21 23:09:39 -07:00
Gilles Debunne
0eb603d099 Merge "Split Location and Security settings." 2011-06-21 16:53:51 -07:00
Gilles Debunne
a6a8a1479b Split Location and Security settings.
Needs final icon for location.

Change-Id: I8d826203c4d0ca4ae768f59ecdeae2700bad7c86
2011-06-21 16:53:00 -07:00
Gilles Debunne
2454f49c93 Fixed Bluetooth availability test in Settings
Added similar test for WiFi to be consistent.

Added null tests in BluetoothEnabler.

Change-Id: Ia6e7b150a1bc060c7ce0b4db12ab3f6c958af104
2011-06-21 16:37:26 -07:00
Jaikumar Ganesh
38ae9125b4 am 7ab66973: Merge "DO NOT MERGE Show user dialog for BT." into gingerbread
* commit '7ab66973a973b9d23c411bf1c6631fa93c4903bf':
  DO NOT MERGE Show user dialog for BT.
2011-06-21 13:24:22 -07:00
Jaikumar Ganesh
7ab66973a9 Merge "DO NOT MERGE Show user dialog for BT." into gingerbread 2011-06-21 11:23:47 -07:00
Gilles Debunne
e78c187905 Settings refactoring
Wifi and bluetooth pane refactored, main toggles moved to left pane.

Change-Id: I42ea4cf3bdf24158f3c67e0dea311258206cd78a
2011-06-21 11:05:29 -07:00
Narayan Kamath
222a619668 Use the new settings API.
Check for a meta-data element instead of a hardcoded
settings class.

Change-Id: Ife67ea64ad1f4ee36749c0b6f8c96d5a22d5b6e2
2011-06-21 13:43:40 +01:00
Jaikumar Ganesh
7bfa6dca07 DO NOT MERGE Show user dialog for BT.
Show user dialog for incoming BT connection
requests from unknown devices.

Contribution by: Wei (Matthew) Xie

Change-Id: I7e9e8bbbd8808a7569f84d213fa3d716f7f5bc80
2011-06-20 19:30:21 -07:00
Jeff Sharkey
29d56b303f Detect radios in data usage, control them.
Teach data usage to inspect hardware radios to determine which tabs
and options to display.  Control "Mobile data enabled" state through
ConnectivityManager.  Persist "Show Wi-Fi" state.

Bug: 4599714, 4645276, 4620024, 4599271, 4596812
Change-Id: I4479593d74a8ba744a056767422f1e03182a7a94
2011-06-20 17:23:43 -07:00
satok
fb0fd42fa0 Add an activity to show an ime switch dialog
Bug: 4671417

Change-Id: I8e29dbfb3d0bbb9270888ac757f53542ce658ba9
2011-06-20 21:39:06 +09:00
Jeff Sharkey
827fde31e8 Match NetworkStatsService refactoring.
Change-Id: Ia5c7fa6e60dd1915939437c859af696fb01498bc
2011-06-19 21:59:01 -07:00
Jeff Sharkey
a662e4975b NetworkTemplate refactoring for data stats.
To match framework changes.

Change-Id: I0f648ae5753149f9774c8096540834451ba41279
2011-06-18 22:22:29 -07:00
Jeff Sharkey
fd03deaef6 Merge "Refactor network policy: paid to metered." 2011-06-17 16:57:30 -07:00
Dianne Hackborn
0c2857d48b Merge "Re-enable user disabling of apps." 2011-06-17 14:53:44 -07:00
Dianne Hackborn
a12c1e3226 Re-enable user disabling of apps.
Change-Id: I5f3a474926cf2b93e311435f67f36837f5f56caa
2011-06-17 14:50:11 -07:00
Jeff Sharkey
1a3e41d629 Refactor network policy: paid to metered.
Also bind policy checkbox correctly.

Bug: 4691427
Change-Id: Ib05b39c391bf59582106afff5599d62a04c3c75b
2011-06-17 13:39:33 -07:00
Amith Yamasani
9a2442711e Merge "Wallpaper settings" 2011-06-16 17:49:37 -07:00
Amith Yamasani
fcbf7cffb6 Wallpaper settings
Added an option in Screen settings to choose a wallpaper.
It then shows a list of wallpaper sources and launches the
corresponding intent on selecting.

Bug: 4691375
Change-Id: I9de9edf56ae4cdd5145a1c5d836df66b893a05fe
2011-06-16 17:48:40 -07:00
John Reck
edaa5a286d Merge "SeekBarPreference -> SeekBarDialogPreference" 2011-06-16 13:21:50 -07:00
Narayan Kamath
fb52613a57 Merge "Text to speech settings UI change." 2011-06-16 07:40:29 -07:00
Narayan Kamath
d5642f7060 Text to speech settings UI change.
No more separate checkboxes for each of the engines. This brings
it more in line with the voice recognition settings. The user is
shown a data warning every time he chooses a non system engine
as the default.

Change-Id: I00fcb9c9f634a9fc13ff14da8bfade79ae6727c4
2011-06-16 13:35:34 +01:00
John Reck
c2ad2e4ce5 SeekBarPreference -> SeekBarDialogPreference
Change-Id: Ie1fba2633806a50b5282728dce447be2162ad67f
2011-06-15 16:49:16 -07:00
Jeff Sharkey
dd6efe17e0 Handle data warning/limit notification actions.
Respond to user interaction with data warning/limit notifications
shown by NetworkPolicyManager.  Show correct tab for the template that
triggered notification.  When data is disabled, prompt user with
dialog and option to re-enable.

Change-Id: I73aeecc0e840fffa2b4cdb90af269115ed0ab56c
2011-06-15 10:31:49 -07:00
Jeff Sharkey
aa5260e40a Load app usage on background thread.
Since stats service loads as needed, this may touch disk, and should
run on background thread.

Change-Id: I1d1d2583250314efa4d3d8f4faa9016c746c29d0
2011-06-14 23:28:03 -07:00
Jeff Sharkey
8e911d7b1a Data usage app labels, protect system, hide empty.
Derive better labels from PackageManager, including for sharedUid
case.  Disable "App settings" button when no ResolveInfo found, and
hide "Restrict" checkbox for system UIDs.  Also hide apps with 0
bytes usage.

Change-Id: I4b0a66f6912c02c56bfcbcb5b46f3ae2ba0df504
2011-06-14 22:45:58 -07:00
Amith Yamasani
5a259aae18 am 80cc0ffa: am e7f7643c: am 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causing NPEs.
* commit '80cc0ffa2b284aee595c45f8f4142f615486f797':
  Stability fixes for Settings. Asynchronous callbacks causing NPEs.
2011-06-14 20:56:45 -07:00
Jeff Sharkey
980385b3f9 Merge "Cycle day editor and other confirmation dialogs." 2011-06-14 16:35:51 -07:00
Jeff Sharkey
4c72ae5e3d Cycle day editor and other confirmation dialogs.
Create dialog to edit "cycle day" when data usage resets.  Also added
dialogs to confirm enabling limit and restricting an application.

Change-Id: I1e08b17fabd1fcfc2f260807a61435d0ff1a8627
2011-06-14 16:32:06 -07:00
Amith Yamasani
80cc0ffa2b am e7f7643c: am 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causing NPEs.
* commit 'e7f7643c485ed6926bc354ca28628d5179019b50':
  Stability fixes for Settings. Asynchronous callbacks causing NPEs.
2011-06-14 15:44:23 -07:00
Amith Yamasani
e7f7643c48 am 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causing NPEs.
* commit '6ef6f183e4d8be0828d1a969178a6e315d8a0ea7':
  Stability fixes for Settings. Asynchronous callbacks causing NPEs.
2011-06-14 15:41:00 -07:00
Amith Yamasani
6ef6f183e4 Stability fixes for Settings. Asynchronous callbacks causing NPEs.
Bug: 4598717
Change-Id: I7f1c5bf6e079bb36301e81085096c5b82615814b
2011-06-14 15:19:14 -07:00
Narayan Kamath
62f153dbde Fix a bug in the TTS settings.
Non system engines that are explicitly enabled should
show up in the "default engine" dropdown list.

bug:4608012

Change-Id: Ic805ef6199319e44037a84ba43fc549de91d291d
2011-06-14 16:40:00 +01:00
Jeff Sharkey
94a9095eac Read network policy earlier, fix ugly scrollbar.
Read policy before creating options menu, so we correctly populate
checkboxes.  Also clean up Preference views so we don't crash when
returning from app details.

Change-Id: I52c38a3016ea669e27b325bfb6ae1620d2a5ca53
2011-06-13 22:31:09 -07:00
Jason parks
00046d6e17 Get encryption working for phones.
I've removed the "special" keyboard from the phone
layouts for now.

Change-Id: I4b18279dafb18ba7cebacfad1b7167e34a7203b4
2011-06-13 17:39:25 -05:00
Mike Lockwood
6fc9c2fd37 am c938a02b: am c1db1192: am d2a6f28f: Disable option to format SD card for secondary external storage
* commit 'c938a02bc69434840340dcebb8ac16b6dcfb8b60':
  Disable option to format SD card for secondary external storage
2011-06-13 04:46:53 -07:00
Mike Lockwood
c938a02bc6 am c1db1192: am d2a6f28f: Disable option to format SD card for secondary external storage
* commit 'c1db119250fd481341c095f47a62adb14ad09484':
  Disable option to format SD card for secondary external storage
2011-06-13 04:36:26 -07:00