55423 Commits

Author SHA1 Message Date
Gloria Wang
a17d454fd0 Fix for bug 4371230.
- Generate unique ID for each DrmManagerClient in native side
- Fix the bug where multiple clients could use the same ID
- Return the correct unique ID back to Java
- Add a flag in the unique ID to separate native client and Java client

Change-Id: Ia4574b6b0a526f2335a65380975dc62f9a6e7f9b
2011-07-25 16:09:58 -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
Wink Saville
bfce70342f am 32d106e1: Filter out addresses that are 0.
* commit '32d106e154d0388ac13774fad3c58ff60ba9ae8f':
  Filter out addresses that are 0.
2011-07-25 15:31:44 -07:00
Wink Saville
32d106e154 Filter out addresses that are 0.
If the address is "any" address, i.e. an address which is all zeros
for both IPv4 and IPv6 ignore it.

Bug: 5073048
Change-Id: I8b9f64103aaffd001114a672375ff5f99616c327
2011-07-25 15:26:56 -07:00
Nick Pelly
dd85d7e4d2 NFC Adapter Extras API update.
Remove
o registerTearDownApdus()
o deregisterTearDownApdus()
They were already NO-OPS, and don't work in the general case.

Add
o authenticate(byte[] token)
This future proofs us for a more flexible access control scheme.

Change-Id: I4cb67ceeb63d61cbc333c9b244a96d8687402168
2011-07-25 15:15:22 -07:00
Jason Sams
98c50c5293 Cleanup sample code.
Change-Id: Iac664f6a97e8a68f5227011ce0960d25e7d901b4
2011-07-25 15:11:24 -07:00
Pannag Sanketi
19f773bc96 Merge "Adding Metadata mode to SurfaceMediaSource" 2011-07-25 15:00:16 -07:00
Jason Sams
c854b9c05e Merge "Add size param to rsForEach bug 5074640" 2011-07-25 14:54:49 -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
Eric Laurent
234cef8129 Merge "Added APIs for audio preprocessing" 2011-07-25 14:43:05 -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
Eric Laurent
0f7f4ece1b Added APIs for audio preprocessing
Added APIs to control pre processes applied on captured audio.
Those APIs are still hidden until reviewed by API council.

Three types of standard pre processes are supported:
- Automatic Gain Control (AGC) by AutomaticGainControl class
- Acoustic Echo Cancellation (AEC) by AcousticEchoCanceler class
- Noise Suppression (NS) by NoiseSuppressor class

A method is added to AudioEffect class to query audio pre processings
applied by default by the platform on a given AudioRecord session ID.

Change-Id: I0b9fceeb8c704dd06319c3b52b85c96fe871d51d
2011-07-25 14:39:00 -07:00
James Dong
fb52651305 Merge "Do not support still image capture mode for timelapse video recording" 2011-07-25 14:21:14 -07:00
Robert Greenwalt
8ba16551bc Merge "Fix build." into honeycomb-plus-aosp 2011-07-25 14:05:23 -07:00
Robert Greenwalt
37e433fd1c Fix build.
Add NetworkUtils function missed in manual merge.

Change-Id: Ifce8f2988bb581ddc9b971b8af07a32f46c91e14
2011-07-25 14:00:42 -07:00
Mathias Agopian
9a817a35f1 fix a typo that prevented preserveRects() to work properly
this caused drawing artifacts during the screen rotation
animation of SurfaceView.

Change-Id: Idcc996b6ca2e346135dd2264959670c0b086d4cb
2011-07-25 13:57:16 -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
Michael Jurka
4c6a3d4bc9 Merge "Unifying swipe behavior for Recents and Notifications" 2011-07-25 13:38:48 -07:00
Jason Sams
cf57dec80b Add size param to rsForEach
bug 5074640


Change-Id: I395bd8b295beacc979681ccdd3451d9d6cc3d672
2011-07-25 12:58:37 -07:00
Kenny Root
b243d5bc7d Merge "Change user 0 directory back for compatibility" 2011-07-25 12:32:10 -07:00
Kenny Root
5ccdaa9a03 Merge "Stop using charAt for Signatures" 2011-07-25 12:32:01 -07:00
Dianne Hackborn
1b20abd30c am 20bf46af: am b0878223: am 6800a801: Merge "frameworks/base: Cap the number of toasts that a package can post."
* commit '20bf46af14130314ae1aeb1e5482c38556c8f0f8':
  frameworks/base: Cap the number of toasts that a package can post.
2011-07-25 12:21:32 -07:00
Dianne Hackborn
6d21aee882 am 9ce1ecdf: am 1a2fcea1: am 2f4698fd: Merge "frameworks/base: unlink death notifications of Vibrate requests"
* commit '9ce1ecdfde98c7b5b5ec346b883df0a50d9722e1':
  frameworks/base: unlink death notifications of Vibrate requests
2011-07-25 12:21:29 -07:00
Xavier Ducrohet
ed07215e48 am 55775e5f: am e70b2b8f: am 9bcf26ea: Merge "Layoutlib_create flag -p: don\'t change all accesses to public."
* commit '55775e5f34af8d7c22ab3212c253b3a7d34a6f8a':
  Layoutlib_create flag -p: don't change all accesses to public.
2011-07-25 12:21:17 -07:00
Kenny Root
64ed105957 am e612c881: am 4f3a8db6: am 3cf03987: Merge "Continue idmap generation even if name lookup fails."
* commit 'e612c881ecf74770098aa9c07d4f0611ac982038':
  Continue idmap generation even if name lookup fails.
2011-07-25 12:21:06 -07:00
Eric Laurent
2df1f092bc Merge "AudioFlinger: add dump of audio pre processing." 2011-07-25 12:20:23 -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
940dabfc66 Merge "TouchExplorer long press not working and activation tap not respecting distance slop." 2011-07-25 12:10:46 -07:00
Robert Greenwalt
a7f68230be resolved conflicts for merge of 26ecc31f to honeycomb-plus-aosp
Change-Id: I23f42e247884f0c9d5ae4d3466213592dd3433d9
2011-07-25 12:08:19 -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
Winson Chung
8a722f2447 Merge "Preventing screenshots when waking from sleep." 2011-07-25 11:47:43 -07:00
Jamie Gennis
d50aef50f6 Merge "SurfaceTexture: enable RGB external textures" 2011-07-25 11:46:51 -07:00
Svetoslav Ganov
0d1d962720 Merge "Switch state text not added to accessibility events." 2011-07-25 11:23:56 -07:00
Winson Chung
d859fa3991 Preventing screenshots when waking from sleep.
- Fixing crash in SystemUI when trying to access external storage while it is not mounted

Change-Id: I3d9a05c155b83a2cc39915caebad4b7016025d09
2011-07-25 11:19:43 -07:00
Matthew Xie
184dd03c81 Merge "Keep Bluetooth module hot to quickly swith it on/off" 2011-07-25 11:14:25 -07:00
Jean-Michel Trivi
d92eb58897 Merge "Fix bug 4211099 channel constants and 7.1 mask" 2011-07-25 11:07:16 -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
Kenny Root
9c8625ead8 Change user 0 directory back for compatibility
The PackageManagerTests aren't designed for multiple users yet, so they
fail. Since multiple users aren't supported yet, just change the default
data directory for user 0 back to how it was previously. This fixes the
existing tests and doesn't get anyone's hopes up since they won't see
/data/user/0/pacakge when we don't support multiple users yet.

Bug: 4380006
Change-Id: Iedcc3115b000759c0013ba6878e13cd2358897da
2011-07-25 09:42:22 -07:00
Ben Murdoch
63d050034d Merge "Add a System.Secure setting for the Autofill server URL." 2011-07-25 09:41:46 -07:00
Ben Murdoch
da4533941e Merge "Fix for Autofill calling WebView.getSettings on background thread." 2011-07-25 09:34:21 -07:00
Flavio Lerda
72a3a86efe Merge "Add IS_READ column in call log and voicemail providers." 2011-07-25 07:44:02 -07:00
Ben Murdoch
50799a9948 Fix for Autofill calling WebView.getSettings on background thread.
Autofill was reading the WebView's WebSettings on a background thread.
Move it to the UI thread to conform to the WebView API and get rid of a
Strict Mode violation.

Bug: 5072283
Change-Id: Ib0ac60697f1e629ac1ef1743545b5cf0ac2cf52a
2011-07-25 11:35:45 +01:00
Svetoslav Ganov
f5a07905a3 TouchExplorer long press not working and activation tap not respecting distance slop.
1. The first problem is manifested on Prime. Apparently the Prime screen driver
   is very aggresive in filtering move events that origin from almost the same
   location. Hence, the framework doesn't see a constant stream of events. However,
   the TouchExplorer implementation was assuming a constant event stream to detect
   long press. Refactored the code such that no assumptions for the event stream
   are made.

2. Touch exploring an item and then tapping far away from that item was activating
   it, hence not respecting the distance slop. This was due to incorrect check of
   the latter.

bug:5070917

Change-Id: I3627a2feeb3712133f58f8f8f1ab7a2ec50cdc9a
2011-07-24 19:43:50 -07:00