17731 Commits

Author SHA1 Message Date
Jeff Sharkey
4664500de0 Maintain separate "restrict background data" flag.
Since "restrict background" depends on active networks, separate its
definition from setBackgroundDataSetting().

Bug: 4979025
Change-Id: I12bfe3a2e606375b39c67706270caa7a1bb0214e
2011-07-27 21:11:32 -07:00
Jeff Sharkey
41ff7ec824 Revise data limit notifs, watch kernel alerts.
Teach NetworkPolicy limits to "snooze" when requested by user, and
notify with both dialog and notification.  Register for network alerts
through NMS to trigger updates immediately instead of waiting for
next stats update.

Enforce that all NetworkPolicy are unique on a template basis, and
move SCREEN_ON/OFF broadcasts to background thread.  Launch SystemUI
and Settings directly instead of using actions, and include full
NetworkTemplate in extras.

Tests to verify notification and snooze behavior.

Bug: 5057979, 5023579, 4723336, 5045721
Change-Id: I03724beff94a7c0547cb5220431ba8d4cd44d077
2011-07-27 09:31:39 -07:00
Gilles Debunne
a94b9ad23a Merge "Bug 4987014: a tap outside dismisses the text suggestion popup" 2011-07-27 09:31:02 -07:00
Eric Laurent
d8d3276a29 Merge "Fix issue 4604090: notification sound interrupted." 2011-07-27 09:02:47 -07:00
Narayan Kamath
84deb60cf1 Reduce the priority of the TTS thread.
It's at a very high priority currently - and will trump
foreground processes (and UI threads) which it shouldnt.

bug:5076001
Change-Id: I0d71c2941950782491ae31526a47ea6f97c38ffb
2011-07-27 13:22:09 +01:00
Romain Guy
f4a28b5aa0 Merge "Improve layers debugging" 2011-07-26 20:36:38 -07:00
Romain Guy
eea60692b0 Improve layers debugging
Change-Id: Ia4950dd5f0e0a224ecb69c581d33aa4f32260a7c
2011-07-26 20:35:55 -07:00
Svetoslav Ganov
05f0e1edb1 Merge "Updated the layout for the activity chooser view." 2011-07-26 20:09:44 -07:00
Svetoslav Ganov
9146d7d327 Merge "findViewWithText inconsistent with other findView* methods and AccessibilityNodeInfo not respecting root namespace." 2011-07-26 20:09:15 -07:00
Adam Powell
523a1289af Merge "Fix bug 5051894 - drags/flings at the beginning/end of ListViews are often dropped" 2011-07-26 19:59:42 -07:00
Romain Guy
912a7b32d0 Make sure we have a current EGL context when invoking EGL
Bug #5081795

Change-Id: Iee3382d362a71c1e6c5c498b319bf7f7bcf5a2f0
2011-07-26 18:57:28 -07:00
Adam Powell
044a46bda5 Fix bug 5051894 - drags/flings at the beginning/end of ListViews are
often dropped

Fix some weirdness in transitioning between overscroll states.

Change-Id: Ie0c2ba75cc60c340e654df58dee675ed1426edb9
2011-07-26 18:41:53 -07:00
Svetoslav Ganov
bfbbcf5677 Updated the layout for the activity chooser view.
1. Updated the laoout to size the buttons properly.

Change-Id: I58f9beeca23af8b0471cf7f7ae9ca717223221aa
2011-07-26 18:36:56 -07:00
Svetoslav Ganov
effe10fd67 findViewWithText inconsistent with other findView* methods and AccessibilityNodeInfo not respecting root namespace.
1. Find viewsWithText does  not respect if the current view  group is a root name
   space and keeps its traversal. This is inconsistent with the other findView*
   methods. Also only visible views are returned witch is inconsistent with the other
   findView* methods.

2. AccessibilityNodeInfo reports children it the source is root namespace. This is
   not correct since thi flag denotes the beginning of a logically separate view
   hierarchy.

bug:5082601

Change-Id: I9c7ca51f284d04728828d5e656112257c9a2c6e2
2011-07-26 18:09:58 -07:00
Jaikumar Ganesh
0431064647 Merge "Add ability to turn BT on / off on a per application basis." 2011-07-26 16:33:19 -07:00
Wu-cheng Li
efebb49ced Merge "Add camera face detection API." 2011-07-26 15:49:30 -07:00
Robert Greenwalt
22d93a0d71 resolved conflicts for merge of 41394a36 to honeycomb-plus-aosp
Change-Id: If4dc99c558dc45c9a7ff8d3ea5be69578b4ee793
2011-07-26 15:26:02 -07:00
Jaikumar Ganesh
ef2cb7c93a Add ability to turn BT on / off on a per application basis.
This changes adds an API for system applications
to enable bluetooth without all the side effects like
auto connection to headsets etc.

Also some tweaks to the adapter state machine

Change-Id: Ib9f22d548a26d72334b300101c8eb0d80f08a4bb
2011-07-26 14:49:36 -07:00
Wu-cheng Li
4c2292efbb Add camera face detection API.
API are still hidden.

bug:4460717
Change-Id: I1a515061f141a89bd61c875257712789fb15d2d4
2011-07-27 05:25:35 +08:00
Robert Greenwalt
41394a3610 Merge "Use dns proxy a bit." into honeycomb-LTE 2011-07-26 13:21:09 -07:00
Flavio Lerda
31b594e129 Add IS_READ field to CallLog and VoicemailContract.
We had initially decided to merge the NEW field (from the call log) and
IS_READ field (from the voicemail contract) into the single NEW field
already present in the call log.

However, it turned out that the meaning of the two fields is slightly
different: NEW means the items has just been inserted (and the user is
not aware of it) while IS_READ represents whether the user has read this
specific message (or heard, in case of voicemails).

This change makes the IS_READ field public, as well as deletes the NEW
field from the voicemail contract, since it is no longer needed there.
The NEW field in the voicemail contract (in fact the entire voicemail
contract) has never been released (this feature is new in ICS).

Bug: 5036195
Change-Id: I740c51c1a8e6d2460050eaab9943fb38b1565058
2011-07-26 20:19:48 +01:00
Makoto Onuki
1bfe9a9b02 Merge "Add new contacts intent action for the "invite" feature" 2011-07-26 09:24:06 -07:00
Gilles Debunne
2888524e03 Bug 4987014: a tap outside dismisses the text suggestion popup
Change-Id: I61f5a3c981770393aa861c88d989c653ea00a067
2011-07-25 18:59:06 -07:00
Eric Laurent
6dbdc40e9a Fix issue 4604090: notification sound interrupted.
The problem is that the audio HAL fails to acquire the wake lock when playing the notification.
This is because of a change that removed the mediaserver process form the system group for honeycomb.

The fix consists in requesting the wake lock from PowerManagerService when AudioFlinger mixer
wakes up.

A consequence of this change is that audio HALs or pcm drivers do not have to hold wake locks
anymore as in the past.

Change-Id: I4fb3cc84816c9c408ab7fec75886baf801e1ecb5
2011-07-25 18:41:12 -07:00
Kenny Root
01c4dccece Merge "Throw NullPointerException on args to Time#compare" 2011-07-25 18:26:59 -07:00
satok
6c454c3225 Merge "[step9] Add logging code for text services" 2011-07-25 18:02:46 -07:00
satok
da317ef686 [step9] Add logging code for text services
Change-Id: I4dae847951848cca85bcb73f47c509ce23327334
2011-07-26 09:42:12 +09:00
Dianne Hackborn
47a7c68ac8 Merge "Fix issue #5063010: Loaders don't seem to be properly..." 2011-07-25 17:28:51 -07:00
Robert Greenwalt
82a94afa96 Merge "resolved conflicts for merge of a7f68230 to master" 2011-07-25 17:12:22 -07:00
Kenny Root
467cabe879 Throw NullPointerException on args to Time#compare
Check for null on arguments to Time#compare(Time, Time) before passing
it down to JNI code.

Bug: 5073949
Change-Id: I077e9d5194a89206d1e51fc89a72c8a72e29f8f1
2011-07-25 17:00:50 -07:00
Robert Greenwalt
572b7048a6 Use dns proxy a bit.
Sets the current default interface and sets the dns per interface.
port of changes 23041 and 22098 from opensource.
bug:5060618

Change-Id: I80e7ef88727eeb8ff2b48059f69b270e5a6b5c16
2011-07-25 17:00:13 -07:00
Dianne Hackborn
d04ad541de Fix issue #5063010: Loaders don't seem to be properly...
...retained with compatibility library

Yikes, and also in the main platform...! :(

Change-Id: I76ee3a9a5ba4a220c2f54d0af9cf49e3a736e7bd
2011-07-25 16:28:47 -07:00
Robert Greenwalt
a10b7fd223 resolved conflicts for merge of a7f68230 to master
Change-Id: I9e8faaa94f9b251a9c003dc6b9a3e2a97c4564a9
2011-07-25 16:06:25 -07:00
Svetoslav Ganov
e3f5edf975 Merge "Set initial bounds offset to (0,0) so that in-screen bounds reported by AccessibilityNodeInfo are correct" 2011-07-25 16:03:23 -07:00
Romain Guy
01391cc028 Merge "Add debug flag to print out the EGL configuration used by libhwui" 2011-07-25 14:44:05 -07:00
Romain Guy
6ef8329c9d Merge "Add ELG config debugging to HardwareRenderer" 2011-07-25 14:43:56 -07:00
Romain Guy
29d23ecfd8 Add debug flag to print out the EGL configuration used by libhwui
Change-Id: I8be5aebb60b7441342d430131168d11dc551ec34
2011-07-25 14:42:24 -07:00
Adam Cohen
84e35d995f Merge "Fixing old bug with AdapterViewFlipper" 2011-07-25 13:54:02 -07:00
Philip Milne
496aa6d4d9 Merge "Fix for http://b/issue?id=5064532" 2011-07-25 13:43:09 -07:00
Kenny Root
5ccdaa9a03 Merge "Stop using charAt for Signatures" 2011-07-25 12:32:01 -07:00
Philip Milne
5125e21bc0 Fix for http://b/issue?id=5064532
5064532: GridLayout with initial "stretchy" row and "gone" view in last row doesn't stretch properly

Also:

. Infer stretchibility from whether or not gravity is defined.
. Make algorithms for handling flexibility within cell groups consistent
  with those acting between cells groups (via constraint system).
. Hide and deprecate methods taking flexibility argument.
. Hide and deprecate CAN_STRETCH constant.

Both deprecated features will be removed after references are removed from platform.

Change-Id: Iabf2bf19f35cf30b8ec49c99b49a0550fd495125
2011-07-25 12:12:10 -07:00
Svetoslav Ganov
71f14a4e23 Merge "Touch exploration state set to clients asynchronously and depended on talking service being enabled." 2011-07-25 12:08:08 -07:00
Amith Yamasani
c018496ab2 Merge "Implement CollapsibleActionView on SearchView." 2011-07-25 12:07:32 -07:00
Romain Guy
484c719c1c Add ELG config debugging to HardwareRenderer
Change-Id: I1954111e999ea95982c273eb50b9ea82397bc823
2011-07-25 11:57:42 -07:00
Svetoslav Ganov
0d1d962720 Merge "Switch state text not added to accessibility events." 2011-07-25 11:23:56 -07:00
Matthew Xie
184dd03c81 Merge "Keep Bluetooth module hot to quickly swith it on/off" 2011-07-25 11:14:25 -07:00
Adam Powell
5bd36eee86 Merge "Fix bug 5060033 - No text-editing toolbar when in a dialog" 2011-07-25 10:57:42 -07:00
Matthew Xie
7f9ecca8f2 Keep Bluetooth module hot to quickly swith it on/off
Add BluetoothAdapterStateMachine to maintain a inter state machine other than
the public BluetoothAdapter states. This is a improvement to BluetoothService
code. 2 internal state are added, LoadingFirmware and FirmwareLoaded to place
the Bluetooth module in a ready-to-switch-on state so that it can be quickly
switched on to have a better user experience
bug 5021787

Change-Id: Ia352e88cba509d9e98c900f85e7479f8cee1de5e
2011-07-25 10:53:06 -07:00
Ted Bonkenburg
5518dd92d3 Merge "Add support for creating a Surface from a a SurfaceTexture." 2011-07-25 10:24:30 -07:00
Ben Murdoch
63d050034d Merge "Add a System.Secure setting for the Autofill server URL." 2011-07-25 09:41:46 -07:00