19623 Commits

Author SHA1 Message Date
Nick Kralevich
e182a92ae4 Merge "Don't rely on the system locale for converting to/from bytes." 2010-03-10 13:11:46 -08:00
Amith Yamasani
c357df1261 Merge "Fixing bug 2502522 - Accessibility events contain text of invisible views" 2010-03-10 12:53:20 -08:00
Romain Guy
80ea00c839 Fix the build.
Change-Id: I7ed20f3d2fb1a80974fbbfe42fdd2f8f135ee401
2010-03-10 12:40:04 -08:00
Dianne Hackborn
7717beed37 Merge "Fix: Polished icons for car mode notification" 2010-03-10 12:26:40 -08:00
Daniel Sandler
8957da23aa Merge "Add VIBRATE_IN_SILENT to the settings database & backup." 2010-03-10 12:03:07 -08:00
Daniel Sandler
1c7fa4836b Add VIBRATE_IN_SILENT to the settings database & backup.
Change-Id: Id31e24ef0536278ccb66b22bba7ed2b47eb1a371
2010-03-10 15:01:25 -05:00
Svetoslav Ganov
be75659485 Fixing bug 2502522 - Accessibility events contain text of invisible views
Change-Id: I0eccc82ad9f3139e46942cb61212bb83f992c173
2010-03-10 11:51:20 -08:00
Kenny Root
7c5ce236a0 Merge "Revert "Dedupe resource config pointers"" 2010-03-10 11:39:12 -08:00
Kenny Root
774562275f Revert "Dedupe resource config pointers"
This reverts commit 7b467d8b44c00d14590c021928b6a9ad5a36348e.
2010-03-10 11:38:05 -08:00
Nick Kralevich
34c47c8558 Don't rely on the system locale for converting to/from bytes.
By default, when java converts Strings to bytes, it uses the
default system locale.  This can be specified by the -Dfile.encoding
option.  If no file encoding is specified, java uses ISO8859_1.

Unfortunately, not all unicode characters can be mapped to
ISO8859_1.  Unmappable characters may be replaced by a byte
within ISO8859_1, which may change the meaning of the String.
This is especially problematic for password strings, and has
been used to compromise the security of passwords in the
past.

Thankfully, Android uses UTF-8 by default, so this bug doesn't
effect Android devices.  However, it's recommended to explicitly
list the character set when converting to/from bytes to
avoid the potential ambiguity.

Change-Id: Iec927e27ed3fc103696c439f6bd3e8779a37ade8
2010-03-10 11:25:53 -08:00
Andreas Huber
b94b52b94e Merge "Instead of instantiating StagefrightMetadataRetriever directly, instantiate a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files." 2010-03-10 11:12:56 -08:00
Marco Nelissen
8da2650df8 Merge "MEDIA_PLAYER_STATE_ERROR is not a bitmask (b/2502881)" 2010-03-10 10:58:23 -08:00
Andreas Huber
1ce986767a Instead of instantiating StagefrightMetadataRetriever directly, instantiate a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files.
Change-Id: Ibda4b5268514934f14a3d49a564902bc670f4384
related-to-bug: 2074137
2010-03-10 10:55:35 -08:00
Marco Nelissen
e44b41bada MEDIA_PLAYER_STATE_ERROR is not a bitmask
(b/2502881)

Change-Id: I08e427eb2c36f5d70e40f9aeb8638fa8262de989
2010-03-10 10:55:09 -08:00
Adam Powell
9ceaf70eab Merge "Added ViewConfiguration.getScaledPagingTouchSlop()" 2010-03-10 10:50:38 -08:00
Adam Powell
de8d0834fc Added ViewConfiguration.getScaledPagingTouchSlop()
Change-Id: I9ab5560c4b76d2b87e53d38b10ba8f5ec4868d85
2010-03-10 10:16:21 -08:00
Mike Reed
180403ac10 pin our visible content bounds to the bounds of the doc itself, to account for overscroll
Change-Id: I3c8165338e31da45a70b3f65ba8389a7a50d6e07
http://b/issue?id=2496502
2010-03-10 13:11:48 -05:00
Mike Reed
36ad54acef force purgeability for assets
Change-Id: I1067cfb91846a05290ed26ce9a62eb82d3170719
http://b/issue?id=1860187
2010-03-10 13:11:47 -05:00
Leon Scroggins
49658cb55b Merge "When context is voice, show the microphone." 2010-03-10 10:07:46 -08:00
Suchi Amalapurapu
6069beb2df Rename ApplicationInfo.FLAG_ON_SDCARD to ApplicationInfo.FLAG_EXTERNAL_STORAGE
Change-Id: Iadef9f9bb2851c38b6d79be1bafbf932abce4210

Change-Id: I2e412bace3d8005db5057a3497bd836d0038b90c
2010-03-10 09:46:49 -08:00
Leon Scroggins
4f22a54555 When context is voice, show the microphone.
Part of fix for http://b/issue?id=2501400

Change-Id: Ibdf364942bcdc8ec837fb8bb30a33c1af2ba5b06
2010-03-10 12:04:29 -05:00
Irfan Sheriff
a8fbe1fb74 Re-organize access to native interface through WifiStateTracker
Bug: 2339709
Change-Id: Ibb2eeb09b83dc24897116ea15a9016f81a08d442
2010-03-10 08:28:08 -08:00
Chia-chi Yeh
746f666029 Merge "YuvImage: jpeg_set_quality() should be called after jpeg_set_defaults()." 2010-03-10 06:36:06 -08:00
Leon Scroggins
62459c0fa5 If the new text and old text are "", return from onTextChanged.
Fixes http://b/issue?id=2496329

Change-Id: I239f143c0e539710342e46783157344a4d7ccc08
2010-03-10 09:08:47 -05:00
Kristian Monsen
a401d559ec Don't cut the url on a redirect
This is a fix for issue 2485033. It is not a final fix, but just starting with this so it can be discussed on code review. The line in question
was added to fix issue 1690652.

Updated fix. Stores the url before it is cut during a redirect. Forwards this to the reponse instead of the cut url.

Update 2: Using the old originalUrl

Change-Id: I286084451aa45e51d5d07811f9d119cf83849592
2010-03-10 12:40:04 +00:00
Chia-chi Yeh
aa86859b10 YuvImage: jpeg_set_quality() should be called after jpeg_set_defaults().
Change-Id: I6579ad9241dd5ee6aabf54e1a1128d17b4f6b3e6
2010-03-10 17:08:58 +08:00
Tobias Haamel
eb2d9534bc Fix: Polished icons for car mode notification
Bug #2496930
Bug #2465538

Change-Id: I4ba9a53573791df7813d86c10faa901391247386
2010-03-10 09:17:43 +01:00
Brad Fitzpatrick
a69f54038f Merge "SettingsProvider: dup-suppress from cache." 2010-03-09 22:48:40 -08:00
Kenny Root
7b467d8b44 Dedupe resource config pointers
When there are two configs in a StringPool that would match a string ID
only keep the more generic entry to save some space. This means that if
you have both "es" and "es_US" translations that have the same
translation, the string entry would be removed from the "es_US" config.

Change-Id: I4d619942d35ddb477e2eabe4437b7f02697c24de
2010-03-09 20:56:41 -08:00
Jean-Baptiste Queru
4aaf256e95 Merge "Use proper config to enable LVMX." 2010-03-09 18:44:06 -08:00
Jean-Baptiste Queru
c57346035a Merge "Use proper config to enable LVMX" 2010-03-09 18:43:57 -08:00
Glenn Kasten
d951d88c17 Use proper config to enable LVMX.
Change-Id: Ic8792e2b48110b2e91903e2e407b828a97d6e531
2010-03-09 18:38:25 -08:00
Jean-Baptiste Queru
99c085bd5a Use proper config to enable LVMX
Change-Id: Ifa75a82884b99aeee139e055f40e7c510cf28213
2010-03-09 18:13:59 -08:00
Brad Fitzpatrick
547a96bc12 SettingsProvider: dup-suppress from cache.
On insert(), check to see if the value is redundant by checking if
it's the same value already in our cache (but without faulting it in
to check).  If so, avoid hitting sqlite or spamming all the
notification listeners with such uselessness.

This reportedly is happening a fair bit.

Change-Id: If58feb3ff1d00027dd927e0900087388cbcd72ae
2010-03-09 17:58:53 -08:00
Jeff Sharkey
fe62d04c30 Helper for combining multiple selection/selectionArgs.
Change-Id: I08eb082149a2a3e45ab00b81a3f46825ad52188d
2010-03-09 17:44:34 -08:00
Brad Fitzpatrick
f3bcc62584 Merge "SettingsProvider: defensively cap size of settings kept cached in memory." 2010-03-09 17:24:51 -08:00
Dianne Hackborn
cf244ada58 Add ability for some manifest attributes to reference resources.
This loosens our restriction on many manifest attributes requiring
literal string values, to allow various ones to use values from
resources.  This is only allowed if the resource value does not change
from configuration changes, and the restriction is still in place
for attributes that are core to security (requesting permissions) or
market operation (used libraries and features etc).

Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
2010-03-09 17:18:05 -08:00
Brad Fitzpatrick
342984a17d SettingsProvider: defensively cap size of settings kept cached in memory.
Change-Id: I50289ece2d7f5f50d2ea2efbacac7a0bb1483bf6
2010-03-09 16:59:30 -08:00
Jaikumar Ganesh
ae58f6d747 Merge "Add an API to set the link timeout." 2010-03-09 16:56:36 -08:00
Jaikumar Ganesh
b7e029d03c Add an API to set the link timeout.
This fixes the problem where the car dock is
powered on and off pretty quickly.

Change-Id: I8724641b8c337019f089b005cb236fc90549cf6f
2010-03-09 16:51:09 -08:00
Brad Fitzpatrick
104798b706 Merge "Speed up ContentProvider.query() in simple case by ~30%" 2010-03-09 16:42:44 -08:00
Romain Guy
28ada96218 Merge "Support unbundled bookmarks. Bug #2460685" 2010-03-09 16:39:13 -08:00
Romain Guy
f02811f785 Support unbundled bookmarks.
Bug #2460685

Change-Id: I402e342673cd8de88664a595401a141e09583e1d
2010-03-09 16:33:51 -08:00
Ray Chen
2f0bf83e45 Merge "Avoid overriding DATE_TAKEN by unreliable file time. MediaProvider will calculate it if needed." 2010-03-09 16:20:59 -08:00
Glenn Kasten
158a2ce56f Merge "Initial version of LifeVibes integration. Also changed tabs to spaces in other audioflinger files." 2010-03-09 16:00:17 -08:00
Robert Greenwalt
aa3780b6f7 Merge "Fix NO_CONNECTIVITY flag in some cases." 2010-03-09 15:42:34 -08:00
Adam Powell
d274979739 Merge "Fix ListView filter popups when window focus changes" 2010-03-09 15:38:56 -08:00
Adam Powell
97566043af Fix ListView filter popups when window focus changes
Change-Id: I8c468900d5dd4d8d82308e2bed3bf992b6c803c7
2010-03-09 15:34:09 -08:00
Brad Fitzpatrick
9ffdfa0c23 Speed up ContentProvider.query() in simple case by ~30%
When query() uses bulkQuery() and we know we're going to need some
metadata right afterwards (number of rows and column index of _id, if
present), just asked for it in the initial binder transaction instead
of immediately fetching it again.

Also, this defers loading column names until the client asks for them.

This gets down the simpler (and very common) use cases of
ContentProvider.query() down to 3 binder calls:

   QUERY_TRANSACTION to android.content.ContentProvider$Transport
   GET_CURSOR_WINDOW_TRANSACTION to android.database.CursorToBulkCursorAdaptor
   CLOSE_TRANSACTION to android.database.CursorToBulkCursorAdaptor

More can still be done, but this is a good bite-sized first piece.

Change-Id: I7ad45949f53e0097ff18c2478d659f0f36929693
2010-03-09 15:20:21 -08:00
Mike Lockwood
4acdcb7217 Merge "Don't let hidden keyguard interfere with button and screen brightness overrides" 2010-03-09 14:57:42 -08:00