55430 Commits

Author SHA1 Message Date
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
satok
142d7575b5 [step4] Change service interface
Change-Id: Iaf86065a2a7f075c670ebdaa60a33a815dcb8113
2011-07-25 11:01:49 +09:00
satok
54e677ffb0 Merge "[Step 2] Add apis for spell checker settings" 2011-07-24 18:47:50 -07:00
satok
562ab585f9 [Step 2] Add apis for spell checker settings
Bug: 5057977

Change-Id: I4617b7f1487349c5de385e7392dbc39c69fa2ebc
2011-07-25 10:23:52 +09:00
Flavio Lerda
651212d37d Add IS_READ column in call log and voicemail providers.
Initially we had exposed NEW in the voicemail provider instead of the
IS_READ field. However, NEW is already used in the call log to represent
a missed call for which a notification needs to be shown to the user.

On the other hand, voicemail need both be shown in a notification and
retain their own read/unread state, which is determined by whether the
user has opened the details of the voicemail.

This change introduces the IS_READ field for voicemails and exposes it
also via the call log content provider.

The NEW column in the voicemail content provider will be removed in a
follow-up.

Bug: 5036195
Change-Id: I2f8c04685a82cbf77f4778cf057ff62c7da1256a
2011-07-25 02:19:47 +01:00
Daisuke Miyakawa
c82cc94db0 Merge "Introduce param/column for group count" 2011-07-24 17:53:47 -07:00
Eric Laurent
1345d33076 AudioFlinger: add dump of audio pre processing.
Dump of media.audio_flinger service was only listing effects on output threads.
Moved the dump of effect chains from PlaybackThread to ThreadBase class so that
pre processings on RecordThread are also listed.

Change-Id: If8bc74023c12b9c2371f1b300743b156ceca7b87
2011-07-24 17:49:51 -07:00
Daisuke Miyakawa
15dec3967e Introduce param/column for group count
Bug: 5039532
Change-Id: Ibc604770cb61ca9fd92280e58f1cd1bbf30c216a
2011-07-24 17:43:03 -07:00
Irfan Sheriff
17b8451019 Merge "Fix interface notification race" 2011-07-24 17:14:12 -07:00
Jean-Michel Trivi
ff7656c9de Fix bug 4211099 channel constants and 7.1 mask
Add definitions for the side and elevated channels.

Add new (correct) definition for 7.1 mask which uses
 the side channels rather than the front half-pan channels.

Change-Id: I13d93f99f3b453ce2ab5fdc2da66629ed7f337ef
2011-07-24 16:25:38 -07:00
James Dong
e432a00051 Merge "Do not wait forever for output buffers in OMXCodec.cpp and error out in case time out happens" 2011-07-24 14:40:08 -07:00
Irfan Sheriff
e8daf2a700 Fix interface notification race
In one use case, I see that if we go straight from
wifi client mode to tethering operation, the interface change notifications
are reported in an order that causes to enter tethered state
without actually tethering through connectivity service.

It is because an interface down notification (from wifi going down) comes after
we have started soft ap and we think we have tethered after calling startTethering
and switch to Tethered state

Instead, we should make sure tethering has started before going to Tethered state.

Change-Id: Iba7e8fab0feeb5637d40938862a8638871df8b02
2011-07-24 14:35:03 -07:00
Jean-Michel Trivi
d40e2c67ed Merge "QueryCodecs() signature change" 2011-07-24 12:59:35 -07:00
repo sync
da6e4a7d9d Merge "Updated: Wi-Fi p2p framework" 2011-07-24 12:57:17 -07:00
Gloria Wang
508e86e757 Merge "Do not change the number of bytes while converting 8-bit samples to 16-bit, because this number will be used later to calculate mCurrentPos. Fix for bug 5063703." 2011-07-24 12:07:20 -07:00
James Dong
83dd43f45a Do not support still image capture mode for timelapse video recording
related-to-bug: 4973779

Change-Id: Ica665217ab10247b2242acc4e93d4fe9f83e3f45
2011-07-24 10:33:54 -07:00
repo sync
55bc5f3e04 Updated: Wi-Fi p2p framework
First stage. Get the bones in right now even though
we are not ready on the native side.

Once, we have things underneath working - we will further update the
framework

Change-Id: I4a7dab5cd4267373dc5f8989ae4122f91c384ed5
2011-07-24 10:08:47 -07:00
Wink Saville
895de9269f am 051660d4: am deb62be2: Merge "Configure RAT dependent retry pattern in GSM DCT." into honeycomb-LTE
* commit '051660d4d6d293f4b561bc6a772c70aa077a578a':
  Configure RAT dependent retry pattern in GSM DCT.
2011-07-24 09:15:39 -07:00
Kazuhiro Ondo
d2dd1e657c am 9820a9d2: am 4281817f: Allow suggestedRetryTime to indicate no retry is needed.
* commit '9820a9d299dc46f2a9037866ddf61c4782cf9186':
  Allow suggestedRetryTime to indicate no retry is needed.
2011-07-24 09:13:52 -07:00
Wink Saville
051660d4d6 am deb62be2: Merge "Configure RAT dependent retry pattern in GSM DCT." into honeycomb-LTE
* commit 'deb62be2e87b19e9bbbc668f8d9327b12dba4a3b':
  Configure RAT dependent retry pattern in GSM DCT.
2011-07-24 09:13:26 -07:00
Kazuhiro Ondo
9820a9d299 am 4281817f: Allow suggestedRetryTime to indicate no retry is needed.
* commit '4281817f6b624cb51926eb24fa78c68cd9431dce':
  Allow suggestedRetryTime to indicate no retry is needed.
2011-07-24 09:11:42 -07:00
Wink Saville
deb62be2e8 Merge "Configure RAT dependent retry pattern in GSM DCT." into honeycomb-LTE 2011-07-24 09:11:28 -07:00
Kazuhiro Ondo
4281817f6b Allow suggestedRetryTime to indicate no retry is needed.
If suggestedRetryTime is 0x7fffffff then no retry is needed
and the framework should not initiate a retry.

Bug: 4949208
Change-Id: I3756ef6a3e93beec4ee95863cbc111b9952e5e06
2011-07-24 08:10:53 -07:00
Irfan Sheriff
e30c1307fb Merge "Handle hostapd and tether interface changes" 2011-07-23 22:30:36 -07:00
Irfan Sheriff
23eb297c77 Handle hostapd and tether interface changes
The set config will only update hostapd config file right now and we need to restart after that happens.

Also, softap interface is changed to be the regular interface

Bug: 5069108
Change-Id: Ibe80129b58e5339f06f186870bcd8f37569c6db3
2011-07-23 21:06:57 -07:00
Svetoslav Ganov
63bce03cc6 Switch state text not added to accessibility events.
1. Adding the text to the events now.

bug:5071053

Change-Id: If36afb1f5327720fc002b8c49e5d7b00c5f189f7
2011-07-23 19:52:22 -07:00
Svetoslav Ganov
2182a3b642 Merge "TwoStatePreference does not fire click events." 2011-07-23 19:38:47 -07:00
Mike Lockwood
5db7af968a Merge "Fix USB tethering" 2011-07-23 19:36:32 -07:00
Mike Lockwood
6c2260b3af Fix USB tethering
The previous approach no longer works with the new USB drivers, since the usb0
interface is no longer enabled by default.
This introduced a chicken & egg problem - usb0 will not be enabled until the
user tries to start tethering, but Settings will not enable the checkbox unless
usb0 is enabled.
To fix this we add an explicit call to start USB tethering in the connectivity manager.
This will enable RNDIS if necessary and then bring up tethering once usb0 is enabled.

Change-Id: Iae1f733366aa6b0dafa66d4c97207794173ef54b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-23 21:57:55 -04:00
Kazuhiro Ondo
789df167fa Configure RAT dependent retry pattern in GSM DCT.
In case GSM DCT is used with EHRPD, retry pattern should follow
the ones for CDMA.

Bug: 5058426
Change-Id: Id9badc9ac14fb20ac62c1746061f056fa2f9ed1b
2011-07-23 13:48:12 -07:00
Michael Jurka
07d4046ea9 Unifying swipe behavior for Recents and Notifications
Change-Id: Ibdbb7cc4ac2bcfcf6d6353a218b13c23caeca5b9
2011-07-23 13:34:40 -07:00
satok
ab45c768bc Merge "Tweak APIs for SpellChecker" 2011-07-22 23:17:51 -07:00
satok
1bedd99761 Tweak APIs for SpellChecker
1. Move getSupellcheckerInfo to SpellCheckerSession
2. Change the interface of getSpellCheckerSession
3. Remove a flag in SuggestionsInfo

Change-Id: I3debe09e213fc0ab74618eb3504383f2a9447fd9
2011-07-23 14:56:04 +09:00
satok
b54ac4ab5b Merge "Display the current ime and subtype name in the ongoing notification" 2011-07-22 20:14:27 -07:00
satok
5bc8e732bd Display the current ime and subtype name in the ongoing notification
Bug: 4903422
Change-Id: I3eaeb3decb75f687ad2af0d80340b819229c3ebe
2011-07-23 12:07:38 +09:00
Adam Powell
0bd1d0a152 Fix bug 5060033 - No text-editing toolbar when in a dialog
Fix a bug that caused standalone action mode bars to not appear
properly or account for system insets such as the status bar.

Add public API to View to toggle the fitsSystemWindows attribute.

Change-Id: I5d7669425b930c5d23f9df26a45f544b706e8242
2011-07-22 19:39:00 -07:00
Pannag Sanketi
b1f8c266e4 Adding Metadata mode to SurfaceMediaSource
SurfaceMediaSource operates in metadata mode only, i.e. just the
metadata is stored in videobuffers. SurfaceMediaSource passes the Gralloc
buffer handle along with a 4 byte 'type' (indicating that the metadata
is of type GrallocSource) to the encoder as opposed to the
GrallocBuffer itself.

Related to bug id: 4529323

Change-Id: I83aebc0dd10f317658cdf70be5802dfc35a1e72d
2011-07-22 19:33:55 -07:00
Fabrice Di Meglio
da89e57130 Merge "Code cleaning" 2011-07-22 19:24:52 -07:00
Svetoslav Ganov
5c3ea06a7a TwoStatePreference does not fire click events.
1. Event were send in onBindView but since we have fixed the bug
   of unattached views firing accessibility events and there is
   no guarantee that the view is attached in onBindView no events
   were sent. Now posting a runnable so on the next run the UI
   tread will send the event i.e. after the view is bound and
   attached.

bug:5008841

Change-Id: I4ed914f7fb65d6896f0c55e7c46e6508d2b2f11f
2011-07-22 18:58:28 -07:00
Fabrice Di Meglio
d794acaa6b Code cleaning
- this was a bit ugly, isnt it?

Change-Id: Ic479c180977d73d333afed7696b2920840d92abf
2011-07-22 18:19:36 -07:00
James Dong
aba28e7fec Merge "Deprecate two methods in MediaRecorder.java class" 2011-07-22 17:59:10 -07:00
Svetoslav Ganov
00aabf7d18 Touch exploration state set to clients asynchronously and depended on talking service being enabled.
1. Upon registration of an accessibility client the latter received only
   the accessiiblity state and waiting for the touch exploration state
   to be sent by the system in async manner. This led the very first
   check of touch exploration state is checked a wrong value to be reported.
   Now a state of the accessibility layer is returned to the client
   upon registration.

2. Removing the dependency on talking accessibility service to be enabled
   for getting into touch exploration mode. What if the user wants to use
   an accessibility service that shows a dialog with the text of the touched
   view?

bug:5051546

Change-Id: Ib377babb3f560929ee73bd3d8b0d277341ba23f7
2011-07-22 17:38:54 -07:00
Chia-chi Yeh
a7cb825494 Merge "VPN: increase timeout period to 60 seconds for legacy VPN." 2011-07-22 17:14:50 -07:00
Svetoslav Ganov
54c29cf1d1 am 3e930dba: (-s ours) am d1b4c10f: Merge "DO NOT MERGE AccessibilityInjectorTest did not restore the default key binsings." into honeycomb-LTE
* commit '3e930dba58442776b3c921b3dc1980fdba2caed9':
  DO NOT MERGE AccessibilityInjectorTest did not restore the default key binsings.
2011-07-22 17:10:32 -07:00