19602 Commits

Author SHA1 Message Date
Kenny Root
774562275f Revert "Dedupe resource config pointers"
This reverts commit 7b467d8b44c00d14590c021928b6a9ad5a36348e.
2010-03-10 11:38:05 -08: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
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
Robert Greenwalt
f0fa39ed74 Fix NO_CONNECTIVITY flag in some cases.
Airplane mode seemed to hit this bug.

bug:2498268
Change-Id: I5af9266fbbad3e2323d30d7471058f0f4ec3f544
2010-03-09 14:55:08 -08:00
Mike Lockwood
17bc415ded Merge "Add new shutdown observer for MountService. Use new observer before rebooting and shutting down. Add some unit tests for unmount and shutdown code paths Fix registering/unregistering part in MountService Use ShutdownThread in PowerManager.reboot() Add reboot support to ShutdownThread. Remove MountService code from PowerManagerService.java and Power.java. Clean shutdown/reboot is handled exclusively by ShutdownThread now." 2010-03-09 14:50:18 -08:00
Ray Chen
b4ca6ef994 Avoid overriding DATE_TAKEN by unreliable file time. MediaProvider will calculate it if needed.
Change-Id: I05cb8628f2333c26de5c05ee1c7676b8f79a5e9a
2010-03-09 14:23:23 -08:00
Grace Kloba
1596136562 Merge "Add an api to set WebView over scroll background." 2010-03-09 14:20:34 -08:00
Adam Powell
7e93cde228 Merge "Fix bug with AbsListView position scrolling" 2010-03-09 14:19:47 -08:00
Glenn Kasten
871c16cec8 Initial version of LifeVibes integration.
Also changed tabs to spaces in other audioflinger files.
2010-03-09 14:16:01 -08:00
Suchi Amalapurapu
6ffce2e9a3 Add new shutdown observer for MountService.
Use new observer before rebooting and shutting down.
Add some unit tests for unmount and shutdown code paths
Fix registering/unregistering part in MountService
Use ShutdownThread in PowerManager.reboot()
Add reboot support to ShutdownThread.
Remove MountService code from PowerManagerService.java and Power.java.
Clean shutdown/reboot is handled exclusively by ShutdownThread now.

Change-Id: Iefb157451d3d9c426cb431707b870a873c09123d
2010-03-09 17:00:18 -05:00
Wu-cheng Li
c10275abd6 Document new preview callback methods more clearly.
bug:2358064
Change-Id: If6af1fbf81b78b2a7ad98ce2c398145fd33200ce
2010-03-09 13:55:27 -08:00
Adam Powell
fee20911e3 Fix bug with AbsListView position scrolling
Change-Id: I91338f0533178417c874325f5f126d1b5fbb5f92
2010-03-09 13:45:21 -08:00
Vasu Nori
90ebc55f35 Merge "add REPLACE to the list of cached sql stmnts" 2010-03-09 13:42:20 -08:00
Jean-Michel Trivi
877a7a2fe6 Merge "Fix bug 2329540 Part 1 of the fix: when the user doesn't elect to use the car dock for music and media, the APM was not aware of the device being docked. This is fixed by dissociating the notification for the APM of the docking to the dock from the sink state change of the A2DP device. Also missing was forcing the volumes to be reevaluated whenever the device is docked or undocked, as volumes for docks may differ, even when the same output device is being used." 2010-03-09 13:17:35 -08:00
Grace Kloba
2d17e1d212 Add an api to set WebView over scroll background.
If the WebView doesn't support zoom, or WebView does
not use wide viewport and horizontal is just fit,
don't do over scroll.

Fix http://b/issue?id=2498403
Fix http://b/issue?id=2497901
2010-03-09 13:14:04 -08:00
Jean-Michel Trivi
758559e6b7 Fix bug 2329540
Part 1 of the fix: when the user doesn't elect to use the car dock
 for music and media, the APM was not aware of the device being
 docked.
 This is fixed by dissociating the notification for the APM of
 the docking to the dock from the sink state change of the A2DP
 device.
 Also missing was forcing the volumes to be reevaluated whenever
 the device is docked or undocked, as volumes for docks may
 differ, even when the same output device is being used.

Change-Id: If5314e27821a71adbd6df6fdf887c45208241d96
2010-03-09 12:45:55 -08:00
Vasu Nori
8648e37f82 add REPLACE to the list of cached sql stmnts 2010-03-09 12:33:39 -08:00
Robert Greenwalt
1c6743c40f Merge "Re-add tethered notification to framework." 2010-03-09 11:55:53 -08:00
Adam Powell
637c0dce32 Merge "Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable IDs to support legacy code." 2010-03-09 11:55:05 -08:00
Leon Scroggins
7a37587664 Set mShiftIsPressed properly when the focus is a plugin.
Fix for http://b/issue?id=2484986

Change-Id: I3140c3c3a0bd44af85939aceb0bbd07c0861cde4
2010-03-09 14:52:40 -05:00
Adam Powell
463ceff8a4 Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable IDs to support legacy code.
Change-Id: I4c6a15e5a224bc5e84949ceb4df17154a2874d20
2010-03-09 11:50:51 -08:00
Vasu Nori
f53774bce6 Merge "modify comments to be more accurate" 2010-03-09 11:46:57 -08:00
Andreas Huber
6692239a23 Merge "Fix a typo in VideoView.java that disabled the seek-back button by default." 2010-03-09 11:43:31 -08:00
Vasu Nori
afe806a4a3 modify comments to be more accurate 2010-03-09 11:37:52 -08:00