3849 Commits

Author SHA1 Message Date
Jeff Sharkey
8e28b7d782 Proactively disable data when over policy limit.
Add policy controls to NetworkStateTracker which are combined with
other user preference and internal flags to decide if data connection
should be established.  Better locking around enabled flags.

When data network would be over limit, proactively disable data on
that network.  Enable when policy is snoozed or when cycle resets.

Track and dismiss notifications from now-stale policies.

Bug: 4587023, 5178147
Change-Id: Ibfcc9f73cda7c369209af701b46eddd3d1943f2d
2011-08-23 18:45:44 -07:00
Tadashi G. Takaoka
fb3db1f3a2 Update IME switcher icon on notification bar
Bug: 5086639
Change-Id: Ic29e4e864e574da748ed74d02a2e0f2f62ab8fd9
2011-08-22 18:18:13 +09:00
Jim Miller
6d97842849 Merge "Fix 5021968: Add input method switcher button to lock screen." 2011-08-19 16:30:13 -07:00
Jim Miller
858f8eaac7 Fix 5021968: Add input method switcher button to lock screen.
This adds an IME switcher button to lock screen.  It is only
shown if the user has more than one applicable and enabled IME installed.

Change-Id: I5f9503a205c2edb27170825539ba4a6ef25418ed
2011-08-19 15:46:03 -07:00
Adam Powell
b7d34e7172 Merge "Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items" 2011-08-19 12:34:28 -07:00
Justin Ho
d4f6025702 Merge "Remove old spinner_ assets from zygote Bug: 5076695" 2011-08-19 12:24:06 -07:00
Adam Powell
bfcdfaf919 Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items
Fix a bug where action menus were not updating after configuration
changes.

Change-Id: Iaeed7d924a7b8b40849fd8e1826ed1c8f4079c94
2011-08-19 12:18:13 -07:00
Justin Ho
d5e4e0a112 Merge "Updated overscroll asset Bug: 5076695" 2011-08-19 12:14:30 -07:00
Justin Ho
13684c3523 Remove old spinner_ assets from zygote
Bug: 5076695

Change-Id: I1dddea226dc1701936e4c9dcc05c6b9d2d3c4db6
2011-08-19 12:13:06 -07:00
Amith Yamasani
7c670365ae Merge "Dismiss the volume overlay dialog when user touches above the dialog as well." 2011-08-19 11:17:48 -07:00
Amith Yamasani
baf6dbfa93 Dismiss the volume overlay dialog when user touches above the dialog as well.
Bug: 5165168
Change-Id: Ib343c3b88371cb93f8241b1085d1a2f36a77b1ac
2011-08-18 17:40:29 -07:00
Adam Powell
931f0b8c07 Merge "Fix bug 5099037 - No delete option when multiple videos are selected" 2011-08-18 16:24:19 -07:00
Adam Powell
23f4cc0353 Fix bug 5099037 - No delete option when multiple videos are selected
Fix some bugs related to how action item slots are allocated in menus.

Fix some padding/margins in ActivityChooserView.

Change-Id: I12096b0165daca902c5bc8e24c1e8d54a35e9557
2011-08-18 16:19:31 -07:00
Jeff Sharkey
9a20fa54c9 Merge "Background data notification, API clean up." 2011-08-18 15:01:10 -07:00
Adam Powell
73f2677dc0 Fix bug 5185010 - android:backgroundSplit doesn't accept a color value
Let both backgroundSplit and backgroundStacked take raw color values.

Change-Id: I05035d6b29bf2973b23da2faf2943d56cba7755f
2011-08-18 14:32:11 -07:00
Jeff Sharkey
11a8c027e4 Merge "Preferences padding and scrollbars to match spec." 2011-08-18 10:52:03 -07:00
Jeff Sharkey
1666dc6041 Merge "Combine list of CharSequence with delimeter." 2011-08-17 18:12:07 -07:00
Amith Yamasani
cb87968865 Merge "Don't force measurement when SearchView is in iconified mode." 2011-08-17 17:28:58 -07:00
Amith Yamasani
a95e488bdc Don't force measurement when SearchView is in iconified mode.
Bug: 5178204

Update the focused state drawables when focus changes. Blue
underlines were not showing up consistently.

Bug: 5174426

Also use the correct style for the search icon so that it matches
other actionbar actions.

Change-Id: I8beed4cf435b074280a5dd79f7a4da4a39152b71
2011-08-17 16:43:55 -07:00
Jeff Sharkey
ce4a193ea8 Preferences padding and scrollbars to match spec.
Adjust preferences ListView to use direct padding instead of applying
to outer parent.  Also display scrollbars outsideOverlay on small
screens.

Change-Id: I750c53d2452d8842d487a091075c32f009f2c2fc
2011-08-17 16:31:24 -07:00
Jeff Sharkey
fa4d7754ed Combine list of CharSequence with delimeter.
Change-Id: I7d86b89a84f6d91e5441c8af63310b37f16974fc
2011-08-17 15:49:30 -07:00
Jeff Sharkey
3a844fcf5a Background data notification, API clean up.
When restricting background data, show ongoing notification to give
easy access to re-enable. Deprecate getBackgroundDataSetting() API
to always return true, since NetworkInfo.isConnected() is new source
of truth. Handle upgrade path by reading from existing secure value,
and kick one last broadcast when changing value. Remove background
data code from ConnectivityService.

Remove warning alerts, since they push ifaces into restricted list;
should only happen when iface has limit.

Bug: 5163559, 5129421
Change-Id: I0064d9d643656a4d32aaae51d4a58bce49fe295f
2011-08-17 14:12:42 -07:00
Claudia de Veaux
50d34a7595 Merge "Edits to remove "fail" references, plus edits to "stopped by mistake" dialog. Bugs: 5174094 and 5165745" 2011-08-17 12:52:04 -07:00
Justin Ho
e117d0bda1 Merge "Updated day_picker Bug: 5076695" 2011-08-17 11:17:32 -07:00
Justin Ho
071bb808ee Updated day_picker
Bug: 5076695

Change-Id: I02366c9a784d40587f0028fe45c7dc584205a511
2011-08-17 10:23:51 -07:00
Justin Ho
59984f65ad Updated overscroll asset
Bug: 5076695

Change-Id: I36e0783cb40f8f18c98a3a1faaa5b816600e63b3
2011-08-17 10:22:41 -07:00
Svetoslav Ganov
d859c45927 Merge "Breaks the build" 2011-08-17 05:27:07 -07:00
Svetoslav Ganov
709349396b Breaks the build
Revert "Adding accessibility support to the PIN lock screen."

This reverts commit 0d67c8900276494cd38539bce40342e11ed83508
2011-08-17 05:16:17 -07:00
Svetoslav Ganov
309b18e791 Merge "Adding accessibility support to the PIN lock screen." 2011-08-17 04:31:37 -07:00
Claudia de Veaux
f78c3c6d43 Edits to remove "fail" references, plus edits to "stopped by mistake" dialog.
Bugs: 5174094 and 5165745

Change-Id: Ie3e94b4fd5c814a5cbb52af7e2b8c8568ed0b89a

Reverted change from "failed" to "unsuccessful" on line 1928 per Dianne. This is a message to someone running a low-level factory test.

Adding escape to single quote.
2011-08-16 20:23:47 -07:00
Amith Yamasani
d140605fb4 Merge "Rename an asset and update ic_commit_* drawables." 2011-08-16 16:45:13 -07:00
Amith Yamasani
ed2d658af0 Merge "Move the padding to the text field in SearchView." 2011-08-16 16:19:56 -07:00
Amith Yamasani
465b08cf4d Move the padding to the text field in SearchView.
Side padding/margins were being applied to both the iconified
and the expanded view. This moves the margin to just the expanded view.

Bug: 5081112
Change-Id: I08c8cd97db2c893a0404065555d2770a6ab902ec
2011-08-16 15:38:42 -07:00
Amith Yamasani
69566a663b Rename an asset and update ic_commit_* drawables.
Bug: 5167680
Change-Id: I90b48c8600dba02d8f84c18a7b61f4b041544f0b
2011-08-16 15:26:25 -07:00
repo sync
4a56c437b6 Merge "P2p enhancements" 2011-08-16 14:50:56 -07:00
Gilles Debunne
4cee03a85f Merge "Change the behavior of SuggestionSpan." 2011-08-16 13:23:25 -07:00
Amith Yamasani
846b762474 Merge "Voice search icon replaced by X on typing." 2011-08-16 12:45:08 -07:00
Luca Zanolin
7d1c55fad8 Change the behavior of SuggestionSpan.
SuggestionSpan can be accessed in two different ways:

- by tapping on the text (easy access)
- by tapping on "replace" pop-up (not easy and difficult to discover)

The "easy access" will be used for dictionary suggestions and voice recognition suggestions.

The suggestion span can be rendered into two different way:

- default, text is underlined in blue
- spelling error, text is underlined in red

Change-Id: I0af0fe6700d0ad588facb21c021dc6f59ef172f1
2011-08-16 10:42:45 -07:00
Amith Yamasani
055cf36319 Merge "Accessibility strings for search view components." 2011-08-16 10:40:02 -07:00
Kenny Root
46d2545db4 Merge "Infrastructure to support package verifier" 2011-08-16 08:35:53 -07:00
Justin Ho
d15ab6dce8 Merge "Updated frameworks/base/core assets Bug: 5076695" 2011-08-16 07:33:43 -07:00
Jeff Sharkey
360abf32cc Merge "Adjust holo tabs to match spec." 2011-08-15 18:17:43 -07:00
Justin Ho
37d7b16772 Updated frameworks/base/core assets
Bug: 5076695

Change-Id: I097da30284ddcac1dcad72b8471ce2a0c97b8f69
2011-08-15 18:06:35 -07:00
Adam Powell
9e58df5d40 Fix bug 5049406 - ActionBar UP with no home icon, tap highlight looks broken
Measure the action bar title layout to consume the full height of the bar.

Change-Id: Iaf0521c5c80b5bd7ceb7f756e50248f6a27fc1fc
2011-08-15 17:48:37 -07:00
Kenny Root
5ab2157bf1 Infrastructure to support package verifier
Allow a package verifier to approve or disapprove of a package being
installed.

Change-Id: Ibfea0f2b1aaa4ab1589a4e59f96144702b9bf94b
2011-08-15 17:26:31 -07:00
Adam Powell
6a23d09066 Merge "Fix bug 5165223 Fix Holo Spinner item/dropdown alignment." 2011-08-15 17:05:42 -07:00
Adam Powell
62e2bdecc2 Fix bug 5165223 Fix Holo Spinner item/dropdown alignment.
Fix bug 5117565 Spinner popup extends out of screen bounds.

Change-Id: I7fef7bbe98aa26611c498d1fe875e84db57dcda0
2011-08-15 16:54:40 -07:00
Amith Yamasani
616365e04c Accessibility strings for search view components.
Bug: 5128699
Change-Id: I5177a672aa68edd25d7aeb8be9dc030a9f6c60c9
2011-08-15 16:19:49 -07:00
Jeff Sharkey
11f4a48c54 Adjust holo tabs to match spec.
Change-Id: I8653ab10cd45bed3c38b15362e80af6c3319f763
2011-08-15 15:49:48 -07:00
Eric Fischer
23018767d2 Import revised translations.
Change-Id: Ic1a72dc93b5450b90bcc46365746e61d7d9ca3e6
2011-08-15 13:19:15 -07:00