OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "add more debug info to SQL section in bugreport"
Vasu Nori [Thu, 11 Mar 2010 19:42:45 +0000 (11:42 -0800)]
Merge "add more debug info to SQL section in bugreport"

14 years agoadd more debug info to SQL section in bugreport
Vasu Nori [Tue, 9 Mar 2010 18:47:25 +0000 (10:47 -0800)]
add more debug info to SQL section in bugreport

after this CL, adb bugreport will the following info (under SQL section
of each app's meminfo dump)

 SQL
            heap:      344       memoryUsed:      344
pageCacheOverflo:       67  largestMemAlloc:       50

 DATABASES
  Pagesize   Dbsize  Lookaside  Dbname
      1024        7         24  googlesettings.db
      1024       26        110  talk.db
      1024       11          0    (attached) transient_talk_db
      1024       11         32  subscribedfeeds.db
      1024       20         27  gservices.db

Change-Id: Iabd13be9793d9794137c60a045b84fa632f13498

14 years agoMerge "Turn off pulsing jogball while on a call."
Daniel Sandler [Thu, 11 Mar 2010 19:24:47 +0000 (11:24 -0800)]
Merge "Turn off pulsing jogball while on a call."

14 years agoMerge "make RecoverySystem.verifyPackage interruptible"
Doug Zongker [Thu, 11 Mar 2010 19:15:53 +0000 (11:15 -0800)]
Merge "make RecoverySystem.verifyPackage interruptible"

14 years agomake RecoverySystem.verifyPackage interruptible
Doug Zongker [Thu, 11 Mar 2010 18:27:21 +0000 (10:27 -0800)]
make RecoverySystem.verifyPackage interruptible

Change-Id: I09f6746914ef63c81312efd3a8959b0c28f6003a

14 years agoTurn off pulsing jogball while on a call.
Daniel Sandler [Thu, 11 Mar 2010 18:38:06 +0000 (13:38 -0500)]
Turn off pulsing jogball while on a call.

Bug: 2336573
Change-Id: If0f0151cbead4eb8acf9e1ce2f6dbca088814694

14 years agoMerge "Make paging touch slop smaller"
Adam Powell [Thu, 11 Mar 2010 18:30:01 +0000 (10:30 -0800)]
Merge "Make paging touch slop smaller"

14 years agoMerge "Allow invoke in all the player states except idle and error."
Nicolas Catania [Thu, 11 Mar 2010 18:26:36 +0000 (10:26 -0800)]
Merge "Allow invoke in all the player states except idle and error."

14 years agoMake paging touch slop smaller
Adam Powell [Thu, 11 Mar 2010 18:25:24 +0000 (10:25 -0800)]
Make paging touch slop smaller

Change-Id: I36e2623dcc6e3209de51d32841ca68ce322cc5d8

14 years agoMerge "Let ListView overscroll header/footer attributes take a color"
Adam Powell [Thu, 11 Mar 2010 18:20:22 +0000 (10:20 -0800)]
Merge "Let ListView overscroll header/footer attributes take a color"

14 years agoMerge "Add a voice search hint context for the launcher."
Mike LeBeau [Thu, 11 Mar 2010 18:15:03 +0000 (10:15 -0800)]
Merge "Add a voice search hint context for the launcher."

14 years agoAdd a voice search hint context for the launcher.
Mike LeBeau [Thu, 11 Mar 2010 18:14:16 +0000 (10:14 -0800)]
Add a voice search hint context for the launcher.

Change-Id: If22471517d8ee34b750278666277d50deaf9ce47

14 years agoLet ListView overscroll header/footer attributes take a color
Adam Powell [Thu, 11 Mar 2010 18:13:50 +0000 (10:13 -0800)]
Let ListView overscroll header/footer attributes take a color

Change-Id: I8b21794d177299f2f649a58ab972291bbc4dab5a

14 years agoAllow invoke in all the player states except idle and error.
Nicolas Catania [Wed, 10 Mar 2010 18:41:04 +0000 (10:41 -0800)]
Allow invoke in all the player states except idle and error.

Previously invoke would work only after prepare but not
when the player is in play or pause state (for instance).
This new change just check that the player has been initialized
and is not in the error state.

Bug:2488931
Change-Id: I9b9f3679593a3b7697c1a84d993fdcd7e1693a90

14 years agoMerge "Fix a variable name reference in Activity docs."
Mike LeBeau [Thu, 11 Mar 2010 17:22:18 +0000 (09:22 -0800)]
Merge "Fix a variable name reference in Activity docs."

14 years agoFix a variable name reference in Activity docs.
Mike LeBeau [Thu, 11 Mar 2010 17:21:08 +0000 (09:21 -0800)]
Fix a variable name reference in Activity docs.

Change-Id: Ib0fd1c6b75f73a4470d2cb790884490a3efa8716

14 years agoMerge "Fix bug #2493102 (Sync keeps getting stuck, or at least very slow)"
Fabrice Di Meglio [Thu, 11 Mar 2010 17:20:57 +0000 (09:20 -0800)]
Merge "Fix bug #2493102 (Sync keeps getting stuck, or at least very slow)"

14 years agoMerge "Reduce buffer sizes related to HTTP media data transfer in order to reduce...
Andreas Huber [Thu, 11 Mar 2010 17:14:45 +0000 (09:14 -0800)]
Merge "Reduce buffer sizes related to HTTP media data transfer in order to reduce the probability of a connection timeout/reset due to long periods of time between socket activity."

14 years agoRevert "Allow invoke in all the player states except idle and error."
Nicolas Catania [Thu, 11 Mar 2010 16:16:26 +0000 (08:16 -0800)]
Revert "Allow invoke in all the player states except idle and error."

This reverts commit 88f3b81d065d4bec6f69a25eda99158e254f55b1.

14 years agoMerge "Allow invoke in all the player states except idle and error."
Nicolas Catania [Thu, 11 Mar 2010 15:56:18 +0000 (07:56 -0800)]
Merge "Allow invoke in all the player states except idle and error."

14 years agoAdds to DumpRenderTree the ability to ignore the results of tests
Steve Block [Tue, 9 Mar 2010 13:54:09 +0000 (13:54 +0000)]
Adds to DumpRenderTree the ability to ignore the results of tests

Change-Id: I7c16d9713fc35c773b810f9d5ce6700f8d9a28e4

14 years agoLimit the projection to just the url.
Patrick Scott [Tue, 9 Mar 2010 20:59:42 +0000 (15:59 -0500)]
Limit the projection to just the url.

Todo: bulk request the icons to avoid posting a billion messages.

Bug: 2496872
Change-Id: I6298f8d6f3000cfbbf56c6bed5f98b9836706f6d

14 years agoUse AsyncTask to update the history in the background.
Leon Scroggins [Wed, 10 Mar 2010 21:40:55 +0000 (16:40 -0500)]
Use AsyncTask to update the history in the background.

Part of http://b/issue?id=2485421

Change-Id: Iccb2c3fc22e14eb1eb88d98ebb4499df14ffb511

14 years agoMerge "Check if the JS_ENGINE key exists as an environment variable before reading...
Ben Murdoch [Thu, 11 Mar 2010 13:46:28 +0000 (05:46 -0800)]
Merge "Check if the JS_ENGINE key exists as an environment variable before reading it."

14 years agoCheck if the JS_ENGINE key exists as an environment variable before reading it.
Ben Murdoch [Thu, 11 Mar 2010 13:27:20 +0000 (13:27 +0000)]
Check if the JS_ENGINE key exists as an environment variable before reading it.

Change-Id: I274b23ea53ec0129ea3b52ff66322f7069338f53

14 years agouse the correct LayoutParams to fix going to fullscreen view
Cary Clark [Wed, 10 Mar 2010 21:52:16 +0000 (16:52 -0500)]
use the correct LayoutParams to fix going to fullscreen view

Change-Id: Id4d1841d720011c6fda6c43fe7ffb55762cef259
http://2467842

14 years agoMerge "Remove http/wml from the DumpRenderTree skipped list, as this directory no...
Steve Block [Thu, 11 Mar 2010 11:08:38 +0000 (03:08 -0800)]
Merge "Remove http/wml from the DumpRenderTree skipped list, as this directory no longer exists."

14 years agoRemove http/wml from the DumpRenderTree skipped list, as this directory no longer...
Steve Block [Thu, 11 Mar 2010 10:41:20 +0000 (10:41 +0000)]
Remove http/wml from the DumpRenderTree skipped list, as this directory no longer exists.

Change-Id: I7f97d68695ee1df45329749d8f08d44364bfef24

14 years agoDon't remove alarms for packages that are being updated.
Dianne Hackborn [Thu, 11 Mar 2010 01:23:43 +0000 (17:23 -0800)]
Don't remove alarms for packages that are being updated.

Change-Id: I296e6587aa1bb391e748ff4bb5649dcfa6ebbc24

14 years agoAdded overscroll headers and footers to ListView.
Adam Powell [Thu, 11 Mar 2010 02:55:25 +0000 (18:55 -0800)]
Added overscroll headers and footers to ListView.

These let developers set a drawable for the list header and footer
to be drawn above and below list content.

Change-Id: Ideddec854cb0bc11f83efb3c000c217844be82c7

14 years agoMerge "Fix the build."
Romain Guy [Thu, 11 Mar 2010 06:12:27 +0000 (22:12 -0800)]
Merge "Fix the build."

14 years agoFix the build.
Romain Guy [Thu, 11 Mar 2010 06:11:50 +0000 (22:11 -0800)]
Fix the build.

Change-Id: I0caef1fd522d231d803e0fd9e0b8fdf3272db168

14 years agoApplications should -not- be able to set preferred activities.
Dianne Hackborn [Thu, 11 Mar 2010 02:27:09 +0000 (18:27 -0800)]
Applications should -not- be able to set preferred activities.

I can't believe I let this slip through.  And in the SDK no less. :(

The APIs for setting preferred activities will now throw a security
exception when used.  This may break some apps, we'll see how it
goes.  If it is too bad we can just make these log and not throw
anything, but I would much prefer they throw an exception.

Change-Id: I3aed434750eef8b202aa9d5bd774a0121be521c6

14 years agoMerge "Modified the expected metadata result as the behavior of Stagefright."
Yu Shan Emily Lau [Thu, 11 Mar 2010 03:11:38 +0000 (19:11 -0800)]
Merge "Modified the expected metadata result as the behavior of Stagefright."

14 years agoModified the expected metadata result as the behavior of Stagefright.
Yu Shan Emily Lau [Thu, 11 Mar 2010 03:03:56 +0000 (19:03 -0800)]
Modified the expected metadata result as the behavior of Stagefright.

Change-Id: Id86e262f0d3375eeda68d5df04e4ebd2f21ffc4f

14 years agoFix small typo in javadoc: "deleting" -> "updating"
Omari Stephens [Thu, 11 Mar 2010 02:53:54 +0000 (18:53 -0800)]
Fix small typo in javadoc: "deleting" -> "updating"

Change-Id: Ie0464aa92d33eb5b076a8122f5bd6317fd44a7b2

14 years agoMerge "Don't break lines in the middle of a smiley or other graphic replacement."
Eric Fischer [Thu, 11 Mar 2010 01:59:48 +0000 (17:59 -0800)]
Merge "Don't break lines in the middle of a smiley or other graphic replacement."

14 years agoFix bug #2493102 (Sync keeps getting stuck, or at least very slow)
Fabrice Di Meglio [Thu, 11 Mar 2010 01:49:46 +0000 (17:49 -0800)]
Fix bug #2493102 (Sync keeps getting stuck, or at least very slow)

- use sql bindargs and extract usefull sql statements
- code cleaning and formatting

Change-Id: I717bf063b3f009e7369b70618f834d780ad6baa3

14 years agoMerge "Disable USB Tethering when UMS is active"
Robert Greenwalt [Thu, 11 Mar 2010 01:24:46 +0000 (17:24 -0800)]
Merge "Disable USB Tethering when UMS is active"

14 years agoReduce buffer sizes related to HTTP media data transfer in order to reduce the probab...
Andreas Huber [Thu, 11 Mar 2010 00:59:28 +0000 (16:59 -0800)]
Reduce buffer sizes related to HTTP media data transfer in order to reduce the probability of a connection timeout/reset due to long periods of time between socket activity.

Change-Id: I799ce1d58d56a31088a89603d8a18d24780f5b57
related-to-bug: 2492187

14 years agoMerge "Fixing bug 2411394 - Monkey crash due to incorrect test service manifest"
Amith Yamasani [Thu, 11 Mar 2010 01:02:40 +0000 (17:02 -0800)]
Merge "Fixing bug 2411394 - Monkey crash due to incorrect test service manifest"

14 years agoMerge "Fix rare NPE in DropBoxManagerService"
Dan Egnor [Thu, 11 Mar 2010 00:53:15 +0000 (16:53 -0800)]
Merge "Fix rare NPE in DropBoxManagerService"

14 years agoMerge "Make HiPri work when already connected."
Robert Greenwalt [Thu, 11 Mar 2010 00:52:27 +0000 (16:52 -0800)]
Merge "Make HiPri work when already connected."

14 years agoDisable USB Tethering when UMS is active
Robert Greenwalt [Thu, 11 Mar 2010 00:41:03 +0000 (16:41 -0800)]
Disable USB Tethering when UMS is active

Make the tethering module aware of UMS.

bug:2469818
Change-Id: I29995812db41bf01a17c303f31fd1707a8d55328

14 years agoMerge "Further improvements to window management!"
Dianne Hackborn [Thu, 11 Mar 2010 00:51:13 +0000 (16:51 -0800)]
Merge "Further improvements to window management!"

14 years agoFix rare NPE in DropBoxManagerService
Dan Egnor [Thu, 11 Mar 2010 00:49:55 +0000 (16:49 -0800)]
Fix rare NPE in DropBoxManagerService

Change-Id: I2e9713802c59feb539d5d4c1ab1dfa21ec88d9f6

14 years agoFurther improvements to window management!
Dianne Hackborn [Wed, 10 Mar 2010 23:53:11 +0000 (15:53 -0800)]
Further improvements to window management!

Fix issue #2493497: Stuck in the Emergency dialer - Home/Back keys doesn't work
This was another case of not updating the window focus when needed, this time
when the lock screen was hidden.

Also re-arrange the layout/animate flow to address issues where you would see
a flicker of whatever was behind the lock screen when showing a new activity that
hides the lock screen.  This was because we were deciding to hide the lock screen
during the layout phase, which meant we had to do it without considering whether
it had drawn.  So we could hide the lock screen before the window is shown for the
first time after being drawn.  Now we can do this in the policy during animate, so
we can wait until the window is drawn and actually being shown.

The flow in perform layout is thus significantly changed, where the layout and
animate loops are both under the same repeating loop.  The actual flow from this
should be the same, but it now allows the policy to request a new layout after
the animation loop is done.  This actually cleans up a number of things in this
code as the complexity has increased.

Finally this includes a change to the ui mode manager when switching modes, to do
the resource configuration switch at a different time.  This makes transitions
between modes much cleaner (though not yet perfect).

Change-Id: I5d9e75c1e79df1106108dd522f8ffed6058ef82b

14 years agoClean up native access from framework
Irfan Sheriff [Wed, 10 Mar 2010 18:05:51 +0000 (10:05 -0800)]
Clean up native access from framework

Driver commands should be issued when driver has started.
Supplicant commands should be issued when Wi-Fi is enabled
Bug: 2339709
Bug: 2371609
Change-Id: I9ba6ddfa0cf4c4b8ca049b0eb7eaaa8edb42bad1

14 years agoMerge "Noticed comment field when splitting guests wasn't being cleared."
Erik [Thu, 11 Mar 2010 00:29:44 +0000 (16:29 -0800)]
Merge "Noticed comment field when splitting guests wasn't being cleared."

14 years agoMerge "use ifContentScrolls in the windowshade"
Joe Onorato [Thu, 11 Mar 2010 00:27:50 +0000 (16:27 -0800)]
Merge "use ifContentScrolls in the windowshade"

14 years agouse ifContentScrolls in the windowshade
Joe Onorato [Thu, 11 Mar 2010 00:26:35 +0000 (16:26 -0800)]
use ifContentScrolls in the windowshade

Change-Id: Ia261e60233cc6dd23d0fcf8459ed8f17597e8448

14 years agoMake HiPri work when already connected.
Robert Greenwalt [Thu, 11 Mar 2010 00:10:43 +0000 (16:10 -0800)]
Make HiPri work when already connected.

A recent change made the HiPri MobileDataStateTracker listen for notifications
about the default connection (which HiPri shadows).  Local code was sending
itself a notification using the old HiPri badging instead of the new Default
badging and those notifications where therefore ignored.

Manifested itself on HiPri connections when we were already on 3g.

See change 42422 on master platform/frameworks/base for the change this is completing.

Change-Id: I375026048724d0035297287c61c6c2f58d4e0294

14 years agoAllow invoke in all the player states except idle and error.
Nicolas Catania [Wed, 10 Mar 2010 18:41:04 +0000 (10:41 -0800)]
Allow invoke in all the player states except idle and error.

Previously invoke would work only after prepare but not
when the player is in play or pause state (for instance).
This new change just check that the player has been initialized
and is not in the error state.

Bug:2488931

Change-Id: I7a69d1b6e3eec1e5dbdf7378ff2085329062595a

14 years agoMerge "Dont include code size for apps on sdcard. Use constants defined in PackageHel...
Suchi Amalapurapu [Thu, 11 Mar 2010 00:15:35 +0000 (16:15 -0800)]
Merge "Dont include code size for apps on sdcard. Use constants defined in PackageHelper for user preferences to install auto, internal, external. Set default install location to external. Update settings db version number"

14 years agoDont include code size for apps on sdcard.
Suchi Amalapurapu [Wed, 10 Mar 2010 22:19:21 +0000 (14:19 -0800)]
Dont include code size for apps on sdcard.
Use constants defined in PackageHelper for user preferences
to install auto, internal, external.
Set default install location to external.
Update settings db version number

Change-Id: Ib5110c9377990e20a48cee923e55898dfddfd1e6

14 years agoFixing bug 2411394 - Monkey crash due to incorrect test service manifest
Svetoslav Ganov [Wed, 10 Mar 2010 23:51:01 +0000 (15:51 -0800)]
Fixing bug 2411394 - Monkey crash due to incorrect test service manifest

Change-Id: I81f7b29f98d22f9d587cd056bc3ce4a86a41a18a

14 years agoDon't break lines in the middle of a smiley or other graphic replacement.
Eric Fischer [Wed, 10 Mar 2010 18:55:58 +0000 (10:55 -0800)]
Don't break lines in the middle of a smiley or other graphic replacement.

The code that was supposed to keep this from happening was not being
executed when the text was all ASCII.

Bug 1899722

Change-Id: Ifc97a4423d6136e19abbc4c82eb36ac0216ce415

14 years agoMerge "check if the binding to the authenticator has been disconnected during the...
Fred Quintana [Wed, 10 Mar 2010 22:08:29 +0000 (14:08 -0800)]
Merge "check if the binding to the authenticator has been disconnected during the GetAccuintsByTypeAndFeature operation and abort if it has been, thus avoiding an NPE"

14 years agocheck if the binding to the authenticator has been disconnected
Fred Quintana [Wed, 10 Mar 2010 20:11:51 +0000 (12:11 -0800)]
check if the binding to the authenticator has been disconnected
during the GetAccuintsByTypeAndFeature operation and abort
if it has been, thus avoiding an NPE

Change-Id: I7f707c7b0a1bdf80c0de9dfa7a3ae32323d623de
http://b/2497196

14 years agoMerge "make the syncmanager keep track if whether a service has been unbound from...
Fred Quintana [Wed, 10 Mar 2010 21:41:44 +0000 (13:41 -0800)]
Merge "make the syncmanager keep track if whether a service has been unbound from so that it knows whether to call unbind at a later time"

14 years agoMerge "Extend stagefright tool to extract either album art or video frame."
Andreas Huber [Wed, 10 Mar 2010 21:33:51 +0000 (13:33 -0800)]
Merge "Extend stagefright tool to extract either album art or video frame."

14 years agoMerge "Don't rely on the system locale for converting to/from bytes."
Nick Kralevich [Wed, 10 Mar 2010 21:11:46 +0000 (13:11 -0800)]
Merge "Don't rely on the system locale for converting to/from bytes."

14 years agoMerge "Fixing bug 2502522 - Accessibility events contain text of invisible views"
Amith Yamasani [Wed, 10 Mar 2010 20:53:20 +0000 (12:53 -0800)]
Merge "Fixing bug 2502522 -  Accessibility events contain text of invisible views"

14 years agoFix the build.
Romain Guy [Wed, 10 Mar 2010 20:40:04 +0000 (12:40 -0800)]
Fix the build.

Change-Id: I7ed20f3d2fb1a80974fbbfe42fdd2f8f135ee401

14 years agomake the syncmanager keep track if whether a service has been unbound
Fred Quintana [Wed, 10 Mar 2010 18:08:31 +0000 (10:08 -0800)]
make the syncmanager keep track if whether a service has been unbound
from so that it knows whether to call unbind at a later time

Change-Id: Ida0d4b06454909d84380e2336fcc238834d292bc
http://b/2492397

14 years agoMerge "Fix: Polished icons for car mode notification"
Dianne Hackborn [Wed, 10 Mar 2010 20:26:40 +0000 (12:26 -0800)]
Merge "Fix: Polished icons for car mode notification"

14 years agoMerge "Add VIBRATE_IN_SILENT to the settings database & backup."
Daniel Sandler [Wed, 10 Mar 2010 20:03:07 +0000 (12:03 -0800)]
Merge "Add VIBRATE_IN_SILENT to the settings database & backup."

14 years agoAdd VIBRATE_IN_SILENT to the settings database & backup.
Daniel Sandler [Wed, 10 Mar 2010 14:45:01 +0000 (09:45 -0500)]
Add VIBRATE_IN_SILENT to the settings database & backup.

Change-Id: Id31e24ef0536278ccb66b22bba7ed2b47eb1a371

14 years agoFixing bug 2502522 - Accessibility events contain text of invisible views
Svetoslav Ganov [Wed, 10 Mar 2010 19:51:20 +0000 (11:51 -0800)]
Fixing bug 2502522 -  Accessibility events contain text of invisible views

Change-Id: I0eccc82ad9f3139e46942cb61212bb83f992c173

14 years agoMerge "Revert "Dedupe resource config pointers""
Kenny Root [Wed, 10 Mar 2010 19:39:12 +0000 (11:39 -0800)]
Merge "Revert "Dedupe resource config pointers""

14 years agoRevert "Dedupe resource config pointers"
Kenny Root [Wed, 10 Mar 2010 19:38:05 +0000 (11:38 -0800)]
Revert "Dedupe resource config pointers"

This reverts commit 7b467d8b44c00d14590c021928b6a9ad5a36348e.

14 years agoDon't rely on the system locale for converting to/from bytes.
Nick Kralevich [Tue, 9 Mar 2010 21:28:14 +0000 (13:28 -0800)]
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

14 years agoMerge "Instead of instantiating StagefrightMetadataRetriever directly, instantiate...
Andreas Huber [Wed, 10 Mar 2010 19:12:56 +0000 (11:12 -0800)]
Merge "Instead of instantiating StagefrightMetadataRetriever directly, instantiate a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files."

14 years agoExtend stagefright tool to extract either album art or video frame.
Andreas Huber [Wed, 10 Mar 2010 19:07:12 +0000 (11:07 -0800)]
Extend stagefright tool to extract either album art or video frame.

Change-Id: Iab50924e37a1aad057470a349c8f1a81858424e9

14 years agoMerge "MEDIA_PLAYER_STATE_ERROR is not a bitmask (b/2502881)"
Marco Nelissen [Wed, 10 Mar 2010 18:58:23 +0000 (10:58 -0800)]
Merge "MEDIA_PLAYER_STATE_ERROR is not a bitmask (b/2502881)"

14 years agoInstead of instantiating StagefrightMetadataRetriever directly, instantiate a MediaMe...
Andreas Huber [Wed, 10 Mar 2010 18:55:35 +0000 (10:55 -0800)]
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

14 years agoMEDIA_PLAYER_STATE_ERROR is not a bitmask
Marco Nelissen [Wed, 10 Mar 2010 18:53:16 +0000 (10:53 -0800)]
MEDIA_PLAYER_STATE_ERROR is not a bitmask
(b/2502881)

Change-Id: I08e427eb2c36f5d70e40f9aeb8638fa8262de989

14 years agoMerge "Added ViewConfiguration.getScaledPagingTouchSlop()"
Adam Powell [Wed, 10 Mar 2010 18:50:38 +0000 (10:50 -0800)]
Merge "Added ViewConfiguration.getScaledPagingTouchSlop()"

14 years agoAdded ViewConfiguration.getScaledPagingTouchSlop()
Adam Powell [Wed, 10 Mar 2010 01:11:30 +0000 (17:11 -0800)]
Added ViewConfiguration.getScaledPagingTouchSlop()

Change-Id: I9ab5560c4b76d2b87e53d38b10ba8f5ec4868d85

14 years agopin our visible content bounds to the bounds of the doc itself, to account for overscroll
Mike Reed [Wed, 10 Mar 2010 16:34:26 +0000 (11:34 -0500)]
pin our visible content bounds to the bounds of the doc itself, to account for overscroll

Change-Id: I3c8165338e31da45a70b3f65ba8389a7a50d6e07
http://b/issue?id=2496502

14 years agoforce purgeability for assets
Mike Reed [Wed, 10 Mar 2010 15:28:10 +0000 (10:28 -0500)]
force purgeability for assets

Change-Id: I1067cfb91846a05290ed26ce9a62eb82d3170719
http://b/issue?id=1860187

14 years agoMerge "When context is voice, show the microphone."
Leon Scroggins [Wed, 10 Mar 2010 18:07:46 +0000 (10:07 -0800)]
Merge "When context is voice, show the microphone."

14 years ago Rename ApplicationInfo.FLAG_ON_SDCARD to ApplicationInfo.FLAG_EXTERNAL_STORAGE
Suchi Amalapurapu [Wed, 10 Mar 2010 17:46:49 +0000 (09:46 -0800)]
Rename ApplicationInfo.FLAG_ON_SDCARD to ApplicationInfo.FLAG_EXTERNAL_STORAGE

    Change-Id: Iadef9f9bb2851c38b6d79be1bafbf932abce4210

Change-Id: I2e412bace3d8005db5057a3497bd836d0038b90c

14 years agoWhen context is voice, show the microphone.
Leon Scroggins [Tue, 9 Mar 2010 22:28:13 +0000 (17:28 -0500)]
When context is voice, show the microphone.

Part of fix for http://b/issue?id=2501400

Change-Id: Ibdf364942bcdc8ec837fb8bb30a33c1af2ba5b06

14 years agoRe-organize access to native interface through WifiStateTracker
Irfan Sheriff [Tue, 9 Mar 2010 17:13:58 +0000 (09:13 -0800)]
Re-organize access to native interface through WifiStateTracker

Bug: 2339709
Change-Id: Ibb2eeb09b83dc24897116ea15a9016f81a08d442

14 years agoMerge "YuvImage: jpeg_set_quality() should be called after jpeg_set_defaults()."
Chia-chi Yeh [Wed, 10 Mar 2010 14:36:06 +0000 (06:36 -0800)]
Merge "YuvImage: jpeg_set_quality() should be called after jpeg_set_defaults()."

14 years agoIf the new text and old text are "", return from onTextChanged.
Leon Scroggins [Tue, 9 Mar 2010 20:14:03 +0000 (15:14 -0500)]
If the new text and old text are "", return from onTextChanged.

Fixes http://b/issue?id=2496329

Change-Id: I239f143c0e539710342e46783157344a4d7ccc08

14 years agoDon't cut the url on a redirect
Kristian Monsen [Mon, 8 Mar 2010 19:39:03 +0000 (19:39 +0000)]
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

14 years agoYuvImage: jpeg_set_quality() should be called after jpeg_set_defaults().
Chia-chi Yeh [Wed, 10 Mar 2010 09:08:58 +0000 (17:08 +0800)]
YuvImage: jpeg_set_quality() should be called after jpeg_set_defaults().

Change-Id: I6579ad9241dd5ee6aabf54e1a1128d17b4f6b3e6

14 years agoFix: Polished icons for car mode notification
Tobias Haamel [Wed, 10 Mar 2010 08:17:43 +0000 (09:17 +0100)]
Fix: Polished icons for car mode notification

Bug #2496930
Bug #2465538

Change-Id: I4ba9a53573791df7813d86c10faa901391247386

14 years agoMerge "SettingsProvider: dup-suppress from cache."
Brad Fitzpatrick [Wed, 10 Mar 2010 06:48:40 +0000 (22:48 -0800)]
Merge "SettingsProvider: dup-suppress from cache."

14 years agoDedupe resource config pointers
Kenny Root [Wed, 10 Mar 2010 00:55:23 +0000 (16:55 -0800)]
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

14 years agoMerge "Use proper config to enable LVMX."
Jean-Baptiste Queru [Wed, 10 Mar 2010 02:44:06 +0000 (18:44 -0800)]
Merge "Use proper config to enable LVMX."

14 years agoMerge "Use proper config to enable LVMX"
Jean-Baptiste Queru [Wed, 10 Mar 2010 02:43:57 +0000 (18:43 -0800)]
Merge "Use proper config to enable LVMX"

14 years agoUse proper config to enable LVMX.
Glenn Kasten [Wed, 10 Mar 2010 02:38:25 +0000 (18:38 -0800)]
Use proper config to enable LVMX.

Change-Id: Ic8792e2b48110b2e91903e2e407b828a97d6e531

14 years agoUse proper config to enable LVMX
Jean-Baptiste Queru [Wed, 10 Mar 2010 02:13:59 +0000 (18:13 -0800)]
Use proper config to enable LVMX

Change-Id: Ifa75a82884b99aeee139e055f40e7c510cf28213

14 years agoSettingsProvider: dup-suppress from cache.
Brad Fitzpatrick [Wed, 10 Mar 2010 01:58:53 +0000 (17:58 -0800)]
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

14 years agoHelper for combining multiple selection/selectionArgs.
Jeff Sharkey [Tue, 9 Mar 2010 22:59:33 +0000 (14:59 -0800)]
Helper for combining multiple selection/selectionArgs.

Change-Id: I08eb082149a2a3e45ab00b81a3f46825ad52188d

14 years agoMerge "SettingsProvider: defensively cap size of settings kept cached in memory."
Brad Fitzpatrick [Wed, 10 Mar 2010 01:24:51 +0000 (17:24 -0800)]
Merge "SettingsProvider: defensively cap size of settings kept cached in memory."

14 years agoAdd ability for some manifest attributes to reference resources.
Dianne Hackborn [Tue, 9 Mar 2010 23:00:30 +0000 (15:00 -0800)]
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