OSDN Git Service

android-x86/packages-apps-Settings.git
13 years agoMerge "Settings: add a new layout for VpnDialog."
Chia-chi Yeh [Mon, 27 Jun 2011 02:40:12 +0000 (19:40 -0700)]
Merge "Settings: add a new layout for VpnDialog."

13 years agoSettings: add a new layout for VpnDialog.
Chia-chi Yeh [Mon, 27 Jun 2011 02:39:18 +0000 (19:39 -0700)]
Settings: add a new layout for VpnDialog.

Change-Id: Ib9d00dc5f56933db60aa08bce489343b00281e28

13 years agoMerge "Settings: revise VpnSettings."
Chia-chi Yeh [Mon, 27 Jun 2011 02:26:15 +0000 (19:26 -0700)]
Merge "Settings: revise VpnSettings."

13 years agoSettings: revise VpnSettings.
Chia-chi Yeh [Mon, 27 Jun 2011 02:17:14 +0000 (19:17 -0700)]
Settings: revise VpnSettings.

Make the style closer to other settings.
Profiles are saved in KeyStore with optional account information.
Not adapt to IConnectivityManager yet.

Change-Id: I9d7a0c14b253a0b355499c5e558b0761fa24ea22

13 years agoMerge "Fix animation bugs, stop disabled sweep touches."
Jeff Sharkey [Sat, 25 Jun 2011 06:13:13 +0000 (23:13 -0700)]
Merge "Fix animation bugs, stop disabled sweep touches."

13 years agoFix animation bugs, stop disabled sweep touches.
Jeff Sharkey [Sat, 25 Jun 2011 00:30:27 +0000 (17:30 -0700)]
Fix animation bugs, stop disabled sweep touches.

Change sweep drawables to crossfade correctly between states, and
work around 4946591 by nesting container one level deeper.  Also wait
until first layout pass is finished before applying LayoutTransition.

Prevent touches from reaching sweeps when chart is disabled.  Also
bring back log scale for data.

Change-Id: I2194714ab075fd32525681119f30427c1b96fc50

13 years agoAdd "emergency call" button to CryptKeeper
David Brown [Mon, 20 Jun 2011 19:38:45 +0000 (12:38 -0700)]
Add "emergency call" button to CryptKeeper

This allows you to make an emergency call without needing to decrypt
your device first.

The exact appearance of the button, and the two possible icons shown to
the left of the text, are taken directly from the corresponding
framework resources (see keyguard_screen_*.xml, ic_emergency.png, and
stat_sys_phone_call.png.)

Also, the code in CryptKeeper.java for updating the state of, and
handling clicks from, the "Emergency call" button is mostly duplicated
from the corresponding code in LockPatternUtils and
LockPatternKeyguardView under frameworks/base.

Bug: 4494186
Change-Id: I36a713fdbc3281a7ba46762d47d5b61fb3cd194d

13 years agoMerge "Add "large text" accessibility option."
Dianne Hackborn [Fri, 24 Jun 2011 17:47:47 +0000 (10:47 -0700)]
Merge "Add "large text" accessibility option."

13 years agoReconcile with gingerbread-release
The Android Open Source Project [Fri, 24 Jun 2011 15:08:51 +0000 (08:08 -0700)]
Reconcile with gingerbread-release

Change-Id: I5c53acce972848ec4adb67782e9e741b3555654b

13 years agoMore data usage chart iteration, app details.
Jeff Sharkey [Fri, 24 Jun 2011 05:15:54 +0000 (22:15 -0700)]
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: 481301445984604818029
Change-Id: I72c0b21ee1d595e4da31d293ae0dab9e801041f3

13 years agoResize data usage assets.
Jeff Sharkey [Fri, 24 Jun 2011 00:42:41 +0000 (17:42 -0700)]
Resize data usage assets.

Change-Id: If133332b9fd25698fcd94a67bc357052ca19e3c3

13 years agoAdd "large text" accessibility option.
Dianne Hackborn [Thu, 23 Jun 2011 23:35:55 +0000 (16:35 -0700)]
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

13 years agoMerge "Turn off hardware acceleration to avoid crashes due to driver."
Justin Ho [Thu, 23 Jun 2011 22:27:10 +0000 (15:27 -0700)]
Merge "Turn off hardware acceleration to avoid crashes due to driver."

13 years agoTurn off hardware acceleration to avoid crashes due to driver.
Amith Yamasani [Thu, 23 Jun 2011 22:24:06 +0000 (15:24 -0700)]
Turn off hardware acceleration to avoid crashes due to driver.

TODO: Turn this back on when driver bug is fixed.

Bug: 4883047
Change-Id: I8efb6d77035595650fff8acb8ddbd95a93fc711c

13 years agoMerge "Refactoring in Settings/Applications"
Gilles Debunne [Thu, 23 Jun 2011 19:57:17 +0000 (12:57 -0700)]
Merge "Refactoring in Settings/Applications"

13 years agoMerge "Bug 4879032: NPE fix when restarting Settings."
Gilles Debunne [Thu, 23 Jun 2011 17:47:15 +0000 (10:47 -0700)]
Merge "Bug 4879032: NPE fix when restarting Settings."

13 years agoam 45679d94: (-s ours) am 38ae9125: (-s ours) am 7ab66973: Merge "DO NOT MERGE Show...
Jaikumar Ganesh [Thu, 23 Jun 2011 14:48:24 +0000 (07:48 -0700)]
am 45679d94: (-s ours) am 38ae9125: (-s ours) am 7ab66973: Merge "DO NOT MERGE Show user dialog for BT." into gingerbread

* commit '45679d942fa47b947b4ce7b45b82998b2972928d':
  DO NOT MERGE Show user dialog for BT.

13 years agoam 47504c7b: am a7bb204a: am c6f14410: Merge "Remove CHAR LIMIT from string to fix...
Jaikumar Ganesh [Thu, 23 Jun 2011 14:40:38 +0000 (07:40 -0700)]
am 47504c7b: am a7bb204a: am c6f14410: Merge "Remove CHAR LIMIT from string to fix build." into gingerbread

* commit '47504c7b93823a7e5a0e0b4d9b0ca8f5093f79f9':
  Remove CHAR LIMIT from string to fix build.

13 years agoIterate on data usage chart UI.
Jeff Sharkey [Thu, 23 Jun 2011 07:39:38 +0000 (00:39 -0700)]
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: 47684834598460
Change-Id: Ic660c35bec826eb5e3f6a1dde3cc04d8c437ef2b

13 years agoMerge "Fix build."
Adam Powell [Thu, 23 Jun 2011 04:11:01 +0000 (21:11 -0700)]
Merge "Fix build."

13 years agoFix build.
Adam Powell [Thu, 23 Jun 2011 04:09:31 +0000 (21:09 -0700)]
Fix build.

Change-Id: I766022f4b4224253bd6bc54427b8b2dd482685e1

13 years agoMerge "Change dummy calendar setting during locale change"
Kenny Root [Thu, 23 Jun 2011 03:55:58 +0000 (20:55 -0700)]
Merge "Change dummy calendar setting during locale change"

13 years agoam 87c04ba6: am f3670df2: am 2c85966d: Merge "New strings for Bluetooth" into gingerbread
Jaikumar Ganesh [Thu, 23 Jun 2011 03:31:14 +0000 (20:31 -0700)]
am 87c04ba6: am f3670df2: am 2c85966d: Merge "New strings for Bluetooth" into gingerbread

* commit '87c04ba668ed856ec61326e90c1fade980d4e893':
  New strings for Bluetooth

13 years agoBug 4879032: NPE fix when restarting Settings.
Gilles Debunne [Wed, 22 Jun 2011 23:07:29 +0000 (16:07 -0700)]
Bug 4879032: NPE fix when restarting Settings.

Change-Id: I65b9fb220bf51357c02555902cdb263df7db1016

13 years agoRefactoring in Settings/Applications
Gilles Debunne [Tue, 21 Jun 2011 19:47:17 +0000 (12:47 -0700)]
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

13 years agoMerge "Add an activity to show an ime switch dialog"
satok [Wed, 22 Jun 2011 06:09:39 +0000 (23:09 -0700)]
Merge "Add an activity to show an ime switch dialog"

13 years agoMerge "Split Location and Security settings."
Gilles Debunne [Tue, 21 Jun 2011 23:53:51 +0000 (16:53 -0700)]
Merge "Split Location and Security settings."

13 years agoSplit Location and Security settings.
Gilles Debunne [Thu, 9 Jun 2011 18:56:17 +0000 (11:56 -0700)]
Split Location and Security settings.

Needs final icon for location.

Change-Id: I8d826203c4d0ca4ae768f59ecdeae2700bad7c86

13 years agoFixed Bluetooth availability test in Settings
Gilles Debunne [Tue, 21 Jun 2011 23:16:06 +0000 (16:16 -0700)]
Fixed Bluetooth availability test in Settings

Added similar test for WiFi to be consistent.

Added null tests in BluetoothEnabler.

Change-Id: Ia6e7b150a1bc060c7ce0b4db12ab3f6c958af104

13 years agoam 38ae9125: (-s ours) am 7ab66973: Merge "DO NOT MERGE Show user dialog for BT....
Jaikumar Ganesh [Tue, 21 Jun 2011 21:08:20 +0000 (14:08 -0700)]
am 38ae9125: (-s ours) am 7ab66973: Merge "DO NOT MERGE Show user dialog for BT." into gingerbread

* commit '38ae9125b4535d44b608359f3345fd75d99cc7a5':
  DO NOT MERGE Show user dialog for BT.

13 years agoam 7ab66973: Merge "DO NOT MERGE Show user dialog for BT." into gingerbread
Jaikumar Ganesh [Tue, 21 Jun 2011 20:24:22 +0000 (13:24 -0700)]
am 7ab66973: Merge "DO NOT MERGE Show user dialog for BT." into gingerbread

* commit '7ab66973a973b9d23c411bf1c6631fa93c4903bf':
  DO NOT MERGE Show user dialog for BT.

13 years agoMerge "DO NOT MERGE Show user dialog for BT." into gingerbread
Jaikumar Ganesh [Tue, 21 Jun 2011 18:23:47 +0000 (11:23 -0700)]
Merge "DO NOT MERGE Show user dialog for BT." into gingerbread

13 years agoSettings refactoring
Gilles Debunne [Mon, 20 Jun 2011 22:00:07 +0000 (15:00 -0700)]
Settings refactoring

Wifi and bluetooth pane refactored, main toggles moved to left pane.

Change-Id: I42ea4cf3bdf24158f3c67e0dea311258206cd78a

13 years agoUse the new settings API.
Narayan Kamath [Mon, 20 Jun 2011 10:49:42 +0000 (11:49 +0100)]
Use the new settings API.

Check for a meta-data element instead of a hardcoded
settings class.

Change-Id: Ife67ea64ad1f4ee36749c0b6f8c96d5a22d5b6e2

13 years agoDO NOT MERGE Show user dialog for BT.
Jaikumar Ganesh [Mon, 20 Jun 2011 21:47:27 +0000 (14:47 -0700)]
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

13 years agoMerge "Detect radios in data usage, control them."
Jeff Sharkey [Tue, 21 Jun 2011 00:24:23 +0000 (17:24 -0700)]
Merge "Detect radios in data usage, control them."

13 years agoDetect radios in data usage, control them.
Jeff Sharkey [Tue, 21 Jun 2011 00:06:52 +0000 (17:06 -0700)]
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: 45997144645276462002445992714596812
Change-Id: I4479593d74a8ba744a056767422f1e03182a7a94

13 years agoam a7bb204a: am c6f14410: Merge "Remove CHAR LIMIT from string to fix build." into...
Jaikumar Ganesh [Mon, 20 Jun 2011 23:35:45 +0000 (16:35 -0700)]
am a7bb204a: am c6f14410: Merge "Remove CHAR LIMIT from string to fix build." into gingerbread

* commit 'a7bb204a1a4a46c853c3590027ad5bffb294f738':
  Remove CHAR LIMIT from string to fix build.

13 years agoam c6f14410: Merge "Remove CHAR LIMIT from string to fix build." into gingerbread
Jaikumar Ganesh [Mon, 20 Jun 2011 23:28:09 +0000 (16:28 -0700)]
am c6f14410: Merge "Remove CHAR LIMIT from string to fix build." into gingerbread

* commit 'c6f144106c627b28d90d33c54564c70890bc2f42':
  Remove CHAR LIMIT from string to fix build.

13 years agoMerge "Remove CHAR LIMIT from string to fix build." into gingerbread
Jaikumar Ganesh [Mon, 20 Jun 2011 23:19:35 +0000 (16:19 -0700)]
Merge "Remove CHAR LIMIT from string to fix build." into gingerbread

13 years agoRemove CHAR LIMIT from string to fix build.
Jaikumar Ganesh [Mon, 20 Jun 2011 23:13:38 +0000 (16:13 -0700)]
Remove CHAR LIMIT from string to fix build.

Change-Id: I590126db92329efcc6aea95bb97bb9d053905276

13 years agoam f3670df2: am 2c85966d: Merge "New strings for Bluetooth" into gingerbread
Jaikumar Ganesh [Mon, 20 Jun 2011 22:58:25 +0000 (15:58 -0700)]
am f3670df2: am 2c85966d: Merge "New strings for Bluetooth" into gingerbread

* commit 'f3670df2ca8e521179907978c7009cba791df7c4':
  New strings for Bluetooth

13 years agoam 2c85966d: Merge "New strings for Bluetooth" into gingerbread
Jaikumar Ganesh [Mon, 20 Jun 2011 22:54:16 +0000 (15:54 -0700)]
am 2c85966d: Merge "New strings for Bluetooth" into gingerbread

* commit '2c85966dd881917b426eefd9643adedf6b0d4ffc':
  New strings for Bluetooth

13 years agoMerge "New strings for Bluetooth" into gingerbread
Jaikumar Ganesh [Mon, 20 Jun 2011 22:29:43 +0000 (15:29 -0700)]
Merge "New strings for Bluetooth" into gingerbread

13 years agoNew strings for Bluetooth
Jaikumar Ganesh [Mon, 20 Jun 2011 19:21:14 +0000 (12:21 -0700)]
New strings for Bluetooth

This is for the user dialog for incoming BT requests.

Change-Id: Ifa8f8e9e00861c65cf1d2f0520d072935b845785

13 years agoImport revised translations.
Eric Fischer [Mon, 20 Jun 2011 21:54:12 +0000 (14:54 -0700)]
Import revised translations.

Change-Id: Ib916cb8bb0b6f45452300b50b5ac138f89a89c29

13 years agoAdd an activity to show an ime switch dialog
satok [Mon, 20 Jun 2011 12:38:36 +0000 (21:38 +0900)]
Add an activity to show an ime switch dialog

Bug: 4671417

Change-Id: I8e29dbfb3d0bbb9270888ac757f53542ce658ba9

13 years agoMatch NetworkStatsService refactoring.
Jeff Sharkey [Mon, 20 Jun 2011 03:56:31 +0000 (20:56 -0700)]
Match NetworkStatsService refactoring.

Change-Id: Ia5c7fa6e60dd1915939437c859af696fb01498bc

13 years agoNetworkTemplate refactoring for data stats.
Jeff Sharkey [Sun, 19 Jun 2011 04:57:06 +0000 (21:57 -0700)]
NetworkTemplate refactoring for data stats.

To match framework changes.

Change-Id: I0f648ae5753149f9774c8096540834451ba41279

13 years agoMerge "Refactor network policy: paid to metered."
Jeff Sharkey [Fri, 17 Jun 2011 23:57:30 +0000 (16:57 -0700)]
Merge "Refactor network policy: paid to metered."

13 years agoMerge "Re-enable user disabling of apps."
Dianne Hackborn [Fri, 17 Jun 2011 21:53:44 +0000 (14:53 -0700)]
Merge "Re-enable user disabling of apps."

13 years agoRe-enable user disabling of apps.
Dianne Hackborn [Fri, 17 Jun 2011 21:50:11 +0000 (14:50 -0700)]
Re-enable user disabling of apps.

Change-Id: I5f3a474926cf2b93e311435f67f36837f5f56caa

13 years agoRefactor network policy: paid to metered.
Jeff Sharkey [Thu, 16 Jun 2011 22:08:08 +0000 (15:08 -0700)]
Refactor network policy: paid to metered.

Also bind policy checkbox correctly.

Bug: 4691427
Change-Id: Ib05b39c391bf59582106afff5599d62a04c3c75b

13 years agoMerge "Wallpaper settings"
Amith Yamasani [Fri, 17 Jun 2011 00:49:37 +0000 (17:49 -0700)]
Merge "Wallpaper settings"

13 years agoWallpaper settings
Amith Yamasani [Thu, 16 Jun 2011 23:55:28 +0000 (16:55 -0700)]
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

13 years agomerge in gingerbread-release history after reset to gingerbread
The Android Automerger [Fri, 17 Jun 2011 00:29:47 +0000 (17:29 -0700)]
merge in gingerbread-release history after reset to gingerbread

13 years agoam 50c32a16: am 3c75fbc5: (-s ours) am 5bdc3e91: Import revised Croatian translations.
Eric Fischer [Fri, 17 Jun 2011 00:04:52 +0000 (17:04 -0700)]
am 50c32a16: am 3c75fbc5: (-s ours) am 5bdc3e91: Import revised Croatian translations.

* commit '50c32a16f34ea154fe97afdc5aaebba6598f58be':
  Import revised Croatian translations.

13 years agoam 3c75fbc5: (-s ours) am 5bdc3e91: Import revised Croatian translations.
Eric Fischer [Thu, 16 Jun 2011 22:55:10 +0000 (15:55 -0700)]
am 3c75fbc5: (-s ours) am 5bdc3e91: Import revised Croatian translations.

* commit '3c75fbc55667d4b3f368afbd29ef78eab55303a2':
  Import revised Croatian translations.

13 years agoam 5bdc3e91: Import revised Croatian translations.
Eric Fischer [Thu, 16 Jun 2011 22:48:43 +0000 (15:48 -0700)]
am 5bdc3e91: Import revised Croatian translations.

* commit '5bdc3e9139a7b37b97a56554cc9a89abc196b437':
  Import revised Croatian translations.

13 years agoam 957bed6e: (-s ours) am 3bf263c9: am b5c4437f: Import revised translations. DO...
Eric Fischer [Thu, 16 Jun 2011 21:48:09 +0000 (14:48 -0700)]
am 957bed6e: (-s ours) am 3bf263c9: am b5c4437f: Import revised translations.  DO NOT MERGE

* commit '957bed6e528b2640b9e91abd509688759691e247':
  Import revised translations.  DO NOT MERGE

13 years agoam 3bf263c9: am b5c4437f: Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 16 Jun 2011 21:41:45 +0000 (14:41 -0700)]
am 3bf263c9: am b5c4437f: Import revised translations.  DO NOT MERGE

* commit '3bf263c97e23eeec199bd56ef520fba17a1e3917':
  Import revised translations.  DO NOT MERGE

13 years agoam b5c4437f: Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 16 Jun 2011 21:29:39 +0000 (14:29 -0700)]
am b5c4437f: Import revised translations.  DO NOT MERGE

* commit 'b5c4437f336c3e79d34428de0b1b7ce22785fb29':
  Import revised translations.  DO NOT MERGE

13 years agoMerge "SeekBarPreference -> SeekBarDialogPreference"
John Reck [Thu, 16 Jun 2011 20:21:50 +0000 (13:21 -0700)]
Merge "SeekBarPreference -> SeekBarDialogPreference"

13 years agoMerge "Enable the PowerControl widget that was disabled for honeycomb."
Amith Yamasani [Thu, 16 Jun 2011 18:10:08 +0000 (11:10 -0700)]
Merge "Enable the PowerControl widget that was disabled for honeycomb."

13 years agoMerge "Text to speech settings UI change."
Narayan Kamath [Thu, 16 Jun 2011 14:40:29 +0000 (07:40 -0700)]
Merge "Text to speech settings UI change."

13 years agoText to speech settings UI change.
Narayan Kamath [Tue, 14 Jun 2011 17:17:40 +0000 (18:17 +0100)]
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

13 years agoEnable the PowerControl widget that was disabled for honeycomb.
Amith Yamasani [Thu, 16 Jun 2011 01:00:27 +0000 (18:00 -0700)]
Enable the PowerControl widget that was disabled for honeycomb.

Widget will be selectively disabled for certain devices.

Change-Id: I0c8835e70e21e188d8e2131cb22980744abe8524

13 years agoSeekBarPreference -> SeekBarDialogPreference
John Reck [Wed, 15 Jun 2011 23:49:16 +0000 (16:49 -0700)]
SeekBarPreference -> SeekBarDialogPreference

Change-Id: Ie1fba2633806a50b5282728dce447be2162ad67f

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 15 Jun 2011 22:13:19 +0000 (15:13 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I4fa5f4000565d487a86e858cb3520555b2147dd2

13 years agoImport revised Croatian translations.
Eric Fischer [Wed, 15 Jun 2011 19:09:02 +0000 (12:09 -0700)]
Import revised Croatian translations.

Change-Id: Ib0067e98d8e3ce35d5e2868e61a8ad3680c62f1e

13 years agoHandle data warning/limit notification actions.
Jeff Sharkey [Wed, 15 Jun 2011 17:31:41 +0000 (10:31 -0700)]
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

13 years agoLoad app usage on background thread.
Jeff Sharkey [Wed, 15 Jun 2011 06:21:59 +0000 (23:21 -0700)]
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

13 years agoData usage app labels, protect system, hide empty.
Jeff Sharkey [Wed, 15 Jun 2011 05:41:21 +0000 (22:41 -0700)]
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

13 years agoam 80cc0ffa: am e7f7643c: am 6ef6f183: Stability fixes for Settings. Asynchronous...
Amith Yamasani [Wed, 15 Jun 2011 03:56:45 +0000 (20:56 -0700)]
am 80cc0ffa: am e7f7643c: am 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causing NPEs.

* commit '80cc0ffa2b284aee595c45f8f4142f615486f797':
  Stability fixes for Settings. Asynchronous callbacks causing NPEs.

13 years agoMerge "Cycle day editor and other confirmation dialogs."
Jeff Sharkey [Tue, 14 Jun 2011 23:35:51 +0000 (16:35 -0700)]
Merge "Cycle day editor and other confirmation dialogs."

13 years agoCycle day editor and other confirmation dialogs.
Jeff Sharkey [Tue, 14 Jun 2011 22:01:18 +0000 (15:01 -0700)]
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

13 years agoam e7f7643c: am 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causin...
Amith Yamasani [Tue, 14 Jun 2011 22:44:23 +0000 (15:44 -0700)]
am e7f7643c: am 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causing NPEs.

* commit 'e7f7643c485ed6926bc354ca28628d5179019b50':
  Stability fixes for Settings. Asynchronous callbacks causing NPEs.

13 years agoam 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causing NPEs.
Amith Yamasani [Tue, 14 Jun 2011 22:41:00 +0000 (15:41 -0700)]
am 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causing NPEs.

* commit '6ef6f183e4d8be0828d1a969178a6e315d8a0ea7':
  Stability fixes for Settings. Asynchronous callbacks causing NPEs.

13 years agoStability fixes for Settings. Asynchronous callbacks causing NPEs.
Amith Yamasani [Tue, 14 Jun 2011 22:02:46 +0000 (15:02 -0700)]
Stability fixes for Settings. Asynchronous callbacks causing NPEs.

Bug: 4598717
Change-Id: I7f1c5bf6e079bb36301e81085096c5b82615814b

13 years agoFix a bug in the TTS settings.
Narayan Kamath [Tue, 14 Jun 2011 15:37:11 +0000 (16:37 +0100)]
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

13 years agoRead network policy earlier, fix ugly scrollbar.
Jeff Sharkey [Tue, 14 Jun 2011 05:31:09 +0000 (22:31 -0700)]
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

13 years agoGet encryption working for phones.
Jason parks [Mon, 13 Jun 2011 22:38:45 +0000 (17:38 -0500)]
Get encryption working for phones.

I've removed the "special" keyboard from the phone
layouts for now.

Change-Id: I4b18279dafb18ba7cebacfad1b7167e34a7203b4

13 years agoam c938a02b: am c1db1192: am d2a6f28f: Disable option to format SD card for secondary...
Mike Lockwood [Mon, 13 Jun 2011 11:46:53 +0000 (04:46 -0700)]
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

13 years agoam c1db1192: am d2a6f28f: Disable option to format SD card for secondary external...
Mike Lockwood [Mon, 13 Jun 2011 11:36:26 +0000 (04:36 -0700)]
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

13 years agoam d2a6f28f: Disable option to format SD card for secondary external storage
Mike Lockwood [Mon, 13 Jun 2011 11:25:51 +0000 (04:25 -0700)]
am d2a6f28f: Disable option to format SD card for secondary external storage

* commit 'd2a6f28fa7ba8189d2a1987129db27fd840fac0f':
  Disable option to format SD card for secondary external storage

13 years agoFirst pass at detailed app data usage, policy.
Jeff Sharkey [Mon, 13 Jun 2011 07:42:03 +0000 (00:42 -0700)]
First pass at detailed app data usage, policy.

Fragment to show application data usage details, including chart with
inspection ranges.  Button that invokes ACTION_MANAGE_NETWORK_USAGE
towards application, and UID-specific policy controls.  Fragment is
launched when clicking list items from data usage summary page.

Change-Id: Ie1564aa8af98e1a7083817a997059a5a7b1caa50

13 years agoModifier to combine/split mobile network policy.
Jeff Sharkey [Mon, 13 Jun 2011 06:11:24 +0000 (23:11 -0700)]
Modifier to combine/split mobile network policy.

Create NetworkPolicyModifier which knows about which mobile network
policies can coexist.  Settings UI uses this modifier to drive UI and
persist policies.

Change-Id: Ib3f3841b0a74c14eefb99209dd644a2e7b7e525d

13 years agoChange dummy calendar setting during locale change
Kenny Root [Mon, 13 Jun 2011 02:44:14 +0000 (19:44 -0700)]
Change dummy calendar setting during locale change

If the timezone changed too far, the example date would be "1/1/yyyy+1"
instead of "12/31/yyyy"

Move the setting of the Calendar time to where the string is calculated
to make sure we have the most up-to-date Locale.

Bug: 4596841
Change-Id: I67a253a65b1ea03ee717945c5df819beb8515662

13 years agoDisable option to format SD card for secondary external storage
Mike Lockwood [Sat, 11 Jun 2011 21:56:34 +0000 (17:56 -0400)]
Disable option to format SD card for secondary external storage

This is a temporary workaround for an interoperability problem with MTP

Change-Id: Iaf63ea0ac76e12ffd635765785da027cab0fcb9a
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoIterating on data usage; tabs, scrolling, cycles.
Jeff Sharkey [Fri, 10 Jun 2011 20:31:21 +0000 (13:31 -0700)]
Iterating on data usage; tabs, scrolling, cycles.

Added ActionBar items to control complexity of data surfaced; checked
state causes tabs to be shown/hidden for "Mobile", "2G-3G", "4G", and
"Wi-Fi" network templates.  Loading historical stats and policy from
system services based on selected tab.

Change entire body under tabs to scroll, treating network options and
chart as ListView headers.  Teach chart sweep to disable intercept to
play with ListView, and draw sweep disabled as dashed line.  Hijacking
Preference views for toggles to offer consistency.  No policy updates
are persisted yet.

Based on available historical network stats and policy cycle reset day,
build list of user-selectable cycles.  Wired up chart to display cycle
data and reset inspection region to last week of available data.

Change-Id: Ia561578276fa23908b745fbc06a6ef828d9ccc2e

13 years agoam 945aac2e: am fb096074: am 148222fd: Merge "remove disabling of Back/Dismiss button...
Freeman Ng [Fri, 10 Jun 2011 21:08:35 +0000 (14:08 -0700)]
am 945aac2e: am fb096074: am 148222fd: Merge "remove disabling of Back/Dismiss button for 10" mode" into honeycomb-mr2

* commit '945aac2e299e8a290c6ec3e5fbad84b7c28366ce':
  remove disabling of Back/Dismiss button for 10" mode

13 years agoam a35506c7: am f2a9bd33: am 0a67cdb7: Merge "add "behind" screen orientation to...
Freeman Ng [Fri, 10 Jun 2011 21:08:33 +0000 (14:08 -0700)]
am a35506c7: am f2a9bd33: am 0a67cdb7: Merge "add "behind" screen orientation to prevent spurious flipping" into honeycomb-mr2

* commit 'a35506c7fb32906678fe541914f420d19ff17394':
  add "behind" screen orientation to prevent spurious flipping

13 years agoam 8d7ecabc: am 60d8b3f8: am 55c86911: Mark access to private resources now that...
Dianne Hackborn [Fri, 10 Jun 2011 19:51:28 +0000 (12:51 -0700)]
am 8d7ecabc: am 60d8b3f8: am 55c86911: Mark access to private resources now that aapt enforces this.

* commit '8d7ecabc6893716d78ede40aedd42683a7627f3c':
  Mark access to private resources now that aapt enforces this.

13 years agoClean up some of the TTS settings code.
Narayan Kamath [Fri, 10 Jun 2011 15:50:48 +0000 (16:50 +0100)]
Clean up some of the TTS settings code.

(a) No longer use a hardcoded default.
(b) With this change, the system engine with the highest
declared priority becomes the default.

Change-Id: I20c6036b855f008b6a83f1dac81aefc07e3ca7f3

13 years agoam fb096074: am 148222fd: Merge "remove disabling of Back/Dismiss button for 10"...
Freeman Ng [Fri, 10 Jun 2011 14:46:40 +0000 (07:46 -0700)]
am fb096074: am 148222fd: Merge "remove disabling of Back/Dismiss button for 10" mode" into honeycomb-mr2

* commit 'fb09607469a5cb42c833725d121e517af5daca72':
  remove disabling of Back/Dismiss button for 10" mode

13 years agoam f2a9bd33: am 0a67cdb7: Merge "add "behind" screen orientation to prevent spurious...
Freeman Ng [Fri, 10 Jun 2011 14:46:37 +0000 (07:46 -0700)]
am f2a9bd33: am 0a67cdb7: Merge "add "behind" screen orientation to prevent spurious flipping" into honeycomb-mr2

* commit 'f2a9bd337b495b65f9e6708117835b2ff986d5af':
  add "behind" screen orientation to prevent spurious flipping

13 years agoam 9209d20a: am ea8f103f: am 7825cb29: Fixing remaining SetupWizard backgrounds for...
Justin Ho [Fri, 10 Jun 2011 01:55:37 +0000 (18:55 -0700)]
am 9209d20a: am ea8f103f: am 7825cb29: Fixing remaining SetupWizard backgrounds for Flyer Bug: 4523403

* commit '9209d20adc0eea6b5fec9de0f1ca21acf5cec92a':
  Fixing remaining SetupWizard backgrounds for Flyer Bug: 4523403

13 years agoam 148222fd: Merge "remove disabling of Back/Dismiss button for 10" mode" into honeyc...
Freeman Ng [Fri, 10 Jun 2011 01:22:02 +0000 (18:22 -0700)]
am 148222fd: Merge "remove disabling of Back/Dismiss button for 10" mode" into honeycomb-mr2

* commit '148222fd43499a578c16c0bdf6ae9336255facd7':
  remove disabling of Back/Dismiss button for 10" mode

13 years agoam 0a67cdb7: Merge "add "behind" screen orientation to prevent spurious flipping...
Freeman Ng [Fri, 10 Jun 2011 01:22:00 +0000 (18:22 -0700)]
am 0a67cdb7: Merge "add "behind" screen orientation to prevent spurious flipping" into honeycomb-mr2

* commit '0a67cdb7e1d853ae0431c36e95930bbf355eca52':
  add "behind" screen orientation to prevent spurious flipping

13 years agoMerge "remove disabling of Back/Dismiss button for 10" mode" into honeycomb-mr2
Freeman Ng [Fri, 10 Jun 2011 01:20:13 +0000 (18:20 -0700)]
Merge "remove disabling of Back/Dismiss button for 10" mode" into honeycomb-mr2