20030 Commits

Author SHA1 Message Date
Jason Sams
cb88ac9f53 Change global variables from extern to non static. Make script local global vars static.
Change-Id: I73656978e0f0ceeb927afef292fc4ed9755b7214
2010-03-18 15:51:59 -07:00
Jason Sams
4ab7b236ef More rsh headers for renderscript and a llvm compatible test script for fountain.
Change-Id: If5d682e549e6f849ba809619587feb58c1e4ed0a
2010-03-18 14:36:05 -07:00
Adam Powell
a0d6b59d87 Merge "Fix bug 2523989" 2010-03-18 13:52:08 -07:00
Andreas Huber
0d6deeaa6e Merge "Tweak the omx tests to always do a seek-beyond-EOS on the first iteration, followed by a linear read on the second iteration." 2010-03-18 13:50:42 -07:00
Adam Powell
c900687280 Fix bug 2523989
AlertDialog's docs now refer to the id android.R.id.custom, the
correct method addView, and android.R.id.custom has been exported as a
public id.

Change-Id: Ide43a03b702f0b36326130909f9a864872ec93fb
2010-03-18 13:44:45 -07:00
Andreas Huber
d92820070b Tweak the omx tests to always do a seek-beyond-EOS on the first iteration, followed by a linear read on the second iteration.
Change-Id: I16fc9e42ee9f8e4cb120ab41364cae6dd4544634
related-to-bug: 2338792
2010-03-18 13:37:39 -07:00
Kenny Root
ed531b37e5 Merge "Fix minSdkVersion scanning to not throw warnings" 2010-03-18 13:15:33 -07:00
Kenny Root
1741cd4904 Fix minSdkVersion scanning to not throw warnings
For the UTF8/UTF16 switch code, we needed to know what was the
minSdkVersion specified as early as possible. Unfortunately, this threw
warnings when the SDK was compiling since we always set this field in
the Bundle.

This splits out the field used by the initial AndroidManifest.xml scan
to a separate one that we won't attempt to re-insert into the
AndroidManifest.xml  This also switches the logic to better reflect the
preference of UTF-8 over UTF-16; previously UTF-16 was the default.

Change-Id: Ia81f6b21047043ebb711eb24c2c3718534979ef6
2010-03-18 12:12:11 -07:00
Jean-Michel Trivi
b50ebe3a15 Merge "Update TTS plugin interface to receive engine configuration data coming from the plugin helper code (handling config and preferences)." 2010-03-18 11:59:32 -07:00
Jean-Michel Trivi
900e0d0954 Update TTS plugin interface to receive engine configuration data
coming from the plugin helper code (handling config and preferences).

Change-Id: Ibc1d229463f11f8977552d74d1fd2aa6a6cab88e
2010-03-18 11:52:41 -07:00
Dianne Hackborn
eccb394c08 Merge "Fix problem with calling onConfigurationChanged() too much." 2010-03-18 11:46:14 -07:00
Irfan Sheriff
1a543010e5 Dont disable AP for tether failures
Bug: 2524514
Change-Id: I8a59e717c5b36b83adbed43184fd45d7cbfedd9a
2010-03-18 11:44:48 -07:00
Vasu Nori
cc17ed29e0 ignore not-so-useful warning messages from sqlite logging func
bug:2524260
Change-Id: Ie397c0df9b63414205bbf8ea7ae9d1498f198524
2010-03-18 11:41:25 -07:00
Dianne Hackborn
ae07816a3f Fix problem with calling onConfigurationChanged() too much.
We now return the initial configuration for a window when it is
added to the window manager.  The view hierarchy would check to
see if it was different than the last one, and not dispatch a
configuration change down itself if not.  However, when
ActivityThread received it, it would always dispatch a config
change even if it is the same.

The solution is to only do this in ActivityThread if the config
is actually different; otherwise, we continue to rely only on
the activity manager explicitly telling us when to do a config
change.

Change-Id: I8a6e3565776dd2723c8b791496bb6041463d4b67
2010-03-18 11:38:30 -07:00
Robert Greenwalt
2fbc10f355 Merge "Fix bug in airplane mode." 2010-03-18 11:09:11 -07:00
Andreas Huber
4ce4febe72 Merge "Either the software mp3 decoder's CRC computation is wrong (and PV never enabled it before) or there are files in the wild with wrong CRCs that nonetheless decode correctly, either way, opt out of CRC verification." 2010-03-18 10:55:12 -07:00
Andreas Huber
43595bc268 Either the software mp3 decoder's CRC computation is wrong (and PV never enabled it before) or there are files in the wild with wrong CRCs that nonetheless decode correctly, either way, opt out of CRC verification.
Change-Id: I1d9bd78f4efb53faa82c67110cf61f78122e40f8
related-to-bug: 2511393
2010-03-18 10:51:09 -07:00
Kenny Root
ea3e8e0758 Merge "Import revised translations" 2010-03-18 10:25:37 -07:00
Leon Scroggins
faf535ea36 Merge "Pass selection data with the message to open the keyboard." 2010-03-18 10:20:35 -07:00
Eric Laurent
cbf1840f4c Merge "Issue 2416481: Support Voice Dialer over BT SCO." 2010-03-18 10:01:10 -07:00
Leon Scroggins
b415779e3b Pass selection data with the message to open the keyboard.
Fix for http://b/issue?id=2431351

Requires a change to external/webkit.

Change-Id: I501c3b1a9ae602458b830d34f779ccedf51dba9b
2010-03-18 12:51:08 -04:00
Charles Chen
b82ac6bf37 Merge "Enabling plugin engines to pass in their engine specific settings via a ContentProvider to the TtsService so that the TtsService can invoke their .so file with those settings." 2010-03-18 09:32:30 -07:00
Andreas Huber
cf74ceea59 Merge "While streaming media data, upon a socket-read error, try reconnecting to the server and attempt to re-read for at most 3 times." 2010-03-18 09:01:01 -07:00
Dan Egnor
1ed6824820 Merge "Add GoogleLogTags that includes event log tags used by Google apps" 2010-03-18 08:52:28 -07:00
Dan Egnor
30c08a5f88 Add GoogleLogTags that includes event log tags used by Google apps
Bug: 2523742
Change-Id: I0e61127ac58cbc954240b30c1f55c2518d833aaa
2010-03-18 08:51:36 -07:00
Mike Lockwood
69d41a00dc Merge "Remove unused file NmeaParser.java" 2010-03-18 08:18:26 -07:00
Bjorn Bringert
b9e2719c7c Merge "RecognitionManager does not throw exceptions when needed" 2010-03-18 07:24:04 -07:00
Cary Clark
e84a0db030 simplify utility to hit-test focused plugin
After about 4 taps, this starts to return that the tap was
in the plugin. Before that, the plugin doesn't have focus.
Derek may want to verify that everything is working as it
should -- maybe it just takes that long for webkit to take
focus.

companion fix in external/webkit

Change-Id: I80ffba6c55876b0af9c305c539a10e8e8ed7cb3c
http://b/2521087
2010-03-18 08:46:41 -04:00
Steve Block
26aa68c6a2 Merge "Adds worker tests to the DumpRenderTree ignoreResults list, as workers are now disabled" 2010-03-18 05:02:15 -07:00
Valentin Kravtsov
1168622bce RecognitionManager does not throw exceptions when needed
bug fix for: http://b/issue?id=2522063
RecognitionManager does not throw an exception in startListening() was called without the preceding setListener()

Change-Id: I8e303d0c53c7593fbf1dc7033b2c0f82eebfb081
2010-03-18 09:32:11 +00:00
Dianne Hackborn
38dd759988 Merge "Rework permissions to be retained when an app is temporarily uninstalled." 2010-03-18 02:05:20 -07:00
Dianne Hackborn
d4310ac944 Rework permissions to be retained when an app is temporarily uninstalled.
This allows us to keep the assigned permissions when apps are temporarily
removed due to the SD card being unmounted, and also if you use the
facility to uninstall an app but keep its data.

Also fixes issue #2515189: Potential permission spoofing attack in
Android (external bug 7166)

Change-Id: I2a120ec938552028c989f9e0e890c32773957738
2010-03-18 02:02:17 -07:00
Amith Yamasani
81a291440b Merge "Fix window leak and receiver leak. Bug: 2520143 and Bug: 2517390" 2010-03-18 01:24:03 -07:00
Dianne Hackborn
694f79b5d1 Fix issue #2519590: Lock screen stuck in landscape mode
Well, mostly.  There is still a problem here where the first time
you show the lock screen it just doesn't draw itself.  I assume
this is something breaking in the view hierarchy as it floounders
around removing and adding new views as it is first being shown...
but no idea at this point what is the actual case.

Change-Id: Iba99ae3242931c8673b17b106c86fc99e2c52abe
2010-03-18 01:12:20 -07:00
Eric Laurent
3def1eec2b Issue 2416481: Support Voice Dialer over BT SCO.
Added public methods to AudioManager API so that unbundled applications can use bluetooth
SCO audio when the phone is not incall.
Without this change, the only way to activate and use bluetooth SCO is via the BluetoothHeadset API
which is not public yet.

Change-Id: Ia1680f219ea1d0943092d475d5be7d6638983ebb
2010-03-18 00:26:46 -07:00
Amith Yamasani
4986044fd3 Fix window leak and receiver leak. Bug: 2520143 and Bug: 2517390
In Activity.onDestroy close any open SearchDialog to avoid a window leak.

Register/unregister broadcast receiver in onStart/onStop of the dialog.
2010-03-17 23:55:48 -07:00
Charles Chen
726a40bc50 Enabling plugin engines to pass in their engine specific settings
via a ContentProvider to the TtsService so that the TtsService can
invoke their .so file with those settings.

Change-Id: Icd0e966971c36ebb4da191a50cda96d6f4525df5
2010-03-17 23:47:07 -07:00
Robert Greenwalt
e4eb5bf243 Merge "Make Tethering not disconnect on every net change." 2010-03-17 22:55:25 -07:00
Jean-Michel Trivi
8419c2fa94 Merge "Support plugin parameter updates for TTS plugin settings." 2010-03-17 22:55:10 -07:00
Joe Onorato
d5ed7c787f Merge "fix 2517656 Pin/Password Unlocks place focus on the launcher screen when they shouldn't" 2010-03-17 22:35:57 -07:00
Joe Onorato
b8d806d034 Merge "Fix for deadlock between StatusBarService and NotificationManagerService" 2010-03-17 22:33:30 -07:00
Joe Onorato
16537757de fix 2517656 Pin/Password Unlocks place focus on the launcher screen when they shouldn't
PasswordEntryKeyboardHelper now sets the FLAG_KEEP_TOUCH_MODE flag for the events
so that the last event we process from the soft keybaord doesn't exit touch mode
and we don't erroneously go into non-touch mode since the on-screen button pressing
left us in touch mode.

Change-Id: Id2546ec3bc4b337aedb5e925de0c709ce62ea059
2010-03-17 22:32:09 -07:00
Jean-Michel Trivi
76dd788a6e Support plugin parameter updates for TTS plugin settings.
Change-Id: Ia18a15b260a5eccb9ac55a8d526832c015224bca
2010-03-17 22:08:26 -07:00
Robert Greenwalt
6a1967c908 Make Tethering not disconnect on every net change.
Tethering will now persist to on (until turned off) through upstream net drops,
tunnels, switches to wifi or 2G, mms sends, etc.  It will also strive to use
the most natural connection and only go to HiPri/Dun APNs when needed.

bug:2519915
bug:2501837
Change-Id: Iedf6647daad8df507d7c87d1130b204b0a0acc7b
2010-03-17 22:06:43 -07:00
Adam Powell
cc83c868b6 Fix the build
Change-Id: I4448a0c56c192d3d9f0308bb77301a3f18de6024
2010-03-17 21:20:13 -07:00
Adam Powell
8a836a8b98 Eliminate haptic feedback when hitting an overscroll barrier due to a fling.
Change-Id: I434ec3edd95a19677ad9dbd1ac5ca3f3f5d091cb
2010-03-17 20:33:07 -07:00
Mike Lockwood
69d63446d8 Remove unused file NmeaParser.java
Change-Id: I8027b98ccf1271870243ced8a7ccc61d25a224b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-17 22:36:15 -04:00
Robert Greenwalt
61f1ce0ec0 Fix bug in airplane mode.
If the phone comes up in airplane mode you and you turn it off,
you can currently end with both mobile and wifi turned on.

bug:2524413
Change-Id: I7a841c955be9038109d0b220070406a3fbd3e8e9
2010-03-17 19:26:58 -07:00
Charles Chen
6c261f327a Merge "Added a check to TtsService to make sure that the engine is enabled before using it; if the engine is not enabled, TtsService will fall back to using the default system engine." 2010-03-17 19:19:17 -07:00
Charles Chen
dd5b4e2150 Added a check to TtsService to make sure that the engine is enabled
before using it; if the engine is not enabled, TtsService will fall
back to using the default system engine.

Change-Id: I401f9c19cc1351c0ae6daf2b11069e5036febc51
2010-03-17 19:15:41 -07:00