OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Fix ThrottleService wifi interaction" into froyo
Robert Greenwalt [Fri, 7 May 2010 00:14:23 +0000 (17:14 -0700)]
Merge "Fix ThrottleService wifi interaction" into froyo

14 years agoFix ThrottleService wifi interaction
Robert Greenwalt [Thu, 6 May 2010 19:25:13 +0000 (12:25 -0700)]
Fix ThrottleService wifi interaction

When we switch to another network (or even just lose mobile data) the mobile
interface is either brought down or destroyed altogether.  That means any
throttling rules we've told the kernel about get lost.

This change notices when our interface comes up and reinstates throttling
if needed.

bug:2660287
Change-Id: I4c6ebf78acc59ed66b95984a1e8b7c2ffbc22dcb

14 years agoMerge "Avoid UNKNOWN state for Wifi in bug2542613, not a common user case." into...
Xia Wang [Thu, 6 May 2010 22:24:08 +0000 (15:24 -0700)]
Merge "Avoid UNKNOWN state for Wifi in bug2542613, not a common user case." into froyo

14 years agoMerge "Adding PacketVideo attribution in NOTICE." into froyo
Dan Morrill [Thu, 6 May 2010 22:11:02 +0000 (15:11 -0700)]
Merge "Adding PacketVideo attribution in NOTICE." into froyo

14 years agoAvoid UNKNOWN state for Wifi in bug2542613, not a common user case.
Xia Wang [Thu, 6 May 2010 21:12:54 +0000 (14:12 -0700)]
Avoid UNKNOWN state for Wifi in bug2542613, not a common user case.

Change-Id: Ief0a953e2909cb5c808f0d683ab95d14f6c53e72

14 years agoAdding PacketVideo attribution in NOTICE.
Dan Morrill [Thu, 6 May 2010 21:15:47 +0000 (14:15 -0700)]
Adding PacketVideo attribution in NOTICE.

Change-Id: Id2fe398d4deed6ebd8cba8516ffc6c0334a961b0

14 years agoMerge "Propagating IOException from RemoteAndroidTestRunner#run() in PackageManagerHo...
Neal Nguyen [Thu, 6 May 2010 20:45:18 +0000 (13:45 -0700)]
Merge "Propagating IOException from RemoteAndroidTestRunner#run() in PackageManagerHostTestUtils." into froyo

14 years agoPropagating IOException from RemoteAndroidTestRunner#run() in PackageManagerHostTestU...
Neal Nguyen [Thu, 6 May 2010 20:26:58 +0000 (13:26 -0700)]
Propagating IOException from RemoteAndroidTestRunner#run() in PackageManagerHostTestUtils.

Change-Id: Ia50d58760b4cc1e222927be054c52cc3b2993395

14 years agoMerge "Disable vorbis seek when streaming from localhost." into froyo
Andreas Huber [Thu, 6 May 2010 18:27:35 +0000 (11:27 -0700)]
Merge "Disable vorbis seek when streaming from localhost." into froyo

14 years agoDisable vorbis seek when streaming from localhost.
Andreas Huber [Thu, 6 May 2010 17:18:05 +0000 (10:18 -0700)]
Disable vorbis seek when streaming from localhost.

Change-Id: Icda523ae1c89e26482f1c1767fe3a8b9222bb30f
related-to-bug: 2654400

14 years agoDoc change: New doc that describes how market filters work
Dirk Dougherty [Tue, 27 Apr 2010 01:15:25 +0000 (18:15 -0700)]
Doc change: New doc that describes how market filters work

Change-Id: I99696502b38d952df8fe07c8982d0cf6b95b31bd

14 years agoMerge "For issue #2651381, allow library prelinking." into froyo
Dan Bornstein [Thu, 6 May 2010 17:01:39 +0000 (10:01 -0700)]
Merge "For issue #2651381, allow library prelinking." into froyo

14 years agoMerge "Adding a few host-based stress tests for Apps on SD." into froyo
Neal Nguyen [Thu, 6 May 2010 16:44:10 +0000 (09:44 -0700)]
Merge "Adding a few host-based stress tests for Apps on SD." into froyo

14 years agoFor issue #2651381, allow library prelinking.
Dan Bornstein [Thu, 6 May 2010 01:23:05 +0000 (18:23 -0700)]
For issue #2651381, allow library prelinking.

Change-Id: I1cb467a158e21fc02cac6af585ac8d27c2bf42de

14 years agoAdding a few host-based stress tests for Apps on SD.
Neal Nguyen [Wed, 31 Mar 2010 23:45:01 +0000 (16:45 -0700)]
Adding a few host-based stress tests for Apps on SD.

Change-Id: I0ccb1f3574688f60b6296dac6f6859ba5d0597ea

14 years agoMerge "Fix 2656989. Clean up update to updated system applications." into froyo
Suchi Amalapurapu [Thu, 6 May 2010 00:38:58 +0000 (17:38 -0700)]
Merge "Fix 2656989. Clean up update to updated system applications." into froyo

14 years agoFor issue #2651381, allow library prelinking.
Dan Bornstein [Wed, 5 May 2010 16:37:52 +0000 (09:37 -0700)]
For issue #2651381, allow library prelinking.

Change-Id: I119348b55ad0015a286e9c94709977cd1973a7e1

14 years agoFix 2656989. Clean up update to updated system applications.
Suchi Amalapurapu [Wed, 5 May 2010 20:37:12 +0000 (13:37 -0700)]
Fix 2656989. Clean up update to updated system applications.

Change-Id: Ic66b00926c45fac43396f1f8f23d0865ba77faba

14 years agoMerge "Fix bug 2594126 Do not crash when ViewRoot is trying to play a UI sound. This...
Jean-Michel Trivi [Wed, 5 May 2010 19:02:18 +0000 (12:02 -0700)]
Merge "Fix bug 2594126 Do not crash when ViewRoot is trying to play a UI sound. This CL doesn't fix why mView can be null in the first place, but prevents a crash when mView is null and a UI sound is to be played." into froyo

14 years agoFix bug 2594126 Do not crash when ViewRoot is trying to play a UI
Jean-Michel Trivi [Wed, 5 May 2010 16:18:15 +0000 (09:18 -0700)]
Fix bug 2594126 Do not crash when ViewRoot is trying to play a UI
sound.
This CL doesn't fix why mView can be null in the first place, but
prevents a crash when mView is null and a UI sound is to be played.

Change-Id: I74ea03567e8e6ebebb6c95c80a473abf11e1163d

14 years agofix doc bug in hello gallery tutorial
Scott Main [Wed, 5 May 2010 15:58:09 +0000 (08:58 -0700)]
fix doc bug in hello gallery tutorial

Change-Id: I05ff14f7b15a8fd338dec8004912845eebe94347

14 years agoMerge "Fix issue #2643754: Launcher is caching widget layouts for too long" into...
Dianne Hackborn [Wed, 5 May 2010 00:43:25 +0000 (17:43 -0700)]
Merge "Fix issue #2643754: Launcher is caching widget layouts for too long" into froyo

14 years agoFix issue #2643754: Launcher is caching widget layouts for too long
Dianne Hackborn [Wed, 5 May 2010 00:22:49 +0000 (17:22 -0700)]
Fix issue #2643754: Launcher is caching widget layouts for too long

With the .apk file names now changing during an update, we need
to make sure to flush all caches related to a package when the
package is removed.  Otherwise we can continue to use the old
package, since its old file may still exist if we try to load it
too soon.

Change-Id: I15f08dffca3feac999dbca4f24bef12a30ca0a66

14 years agoMerge "Build searchables list after boot" into froyo
Bjorn Bringert [Tue, 4 May 2010 23:57:56 +0000 (16:57 -0700)]
Merge "Build searchables list after boot" into froyo

14 years agoMerge "docs: resolve doc bug bug:2648699" into froyo
Scott Main [Tue, 4 May 2010 23:03:37 +0000 (16:03 -0700)]
Merge "docs: resolve doc bug bug:2648699" into froyo

14 years agoBuild searchables list after boot
Bjorn Bringert [Tue, 4 May 2010 19:44:16 +0000 (20:44 +0100)]
Build searchables list after boot

This avoids delaying the first launch of QuickSearchBox or Browser
after boot while SearchManagerService builds the searchables list.

Bug http://b/issue?id=2639863

Change-Id: Ia510204691ecf487a2008723fe8f6caaced86618

14 years agoFix bug 2651076 - Catch/log ActivityNotFoundException in MenuItemImpl.invoke()
Adam Powell [Tue, 4 May 2010 21:44:45 +0000 (14:44 -0700)]
Fix bug 2651076 - Catch/log ActivityNotFoundException in MenuItemImpl.invoke()

Change-Id: I841a37349fbc6af33073aaecae903eb8999cc5bd

14 years agoMerge "Support for Ogg Vorbis decoding in stagefright." into froyo
Andreas Huber [Tue, 4 May 2010 21:27:26 +0000 (14:27 -0700)]
Merge "Support for Ogg Vorbis decoding in stagefright." into froyo

14 years agoMerge "docs: revise and add documentation for backup APIs" into froyo
Scott Main [Tue, 4 May 2010 21:20:02 +0000 (14:20 -0700)]
Merge "docs: revise and add documentation for backup APIs" into froyo

14 years agoMerge "Increase the row height of menus by 1dip." into froyo
Daniel Sandler [Tue, 4 May 2010 19:40:54 +0000 (12:40 -0700)]
Merge "Increase the row height of menus by 1dip." into froyo

14 years agoMerge "Adding the backward-compatible filtering heuristics for the new device feature...
Dan Morrill [Tue, 4 May 2010 19:03:45 +0000 (12:03 -0700)]
Merge "Adding the backward-compatible filtering heuristics for the new device features definitions added in FroYo." into froyo

14 years agoSupport for Ogg Vorbis decoding in stagefright.
Andreas Huber [Tue, 4 May 2010 18:46:42 +0000 (11:46 -0700)]
Support for Ogg Vorbis decoding in stagefright.

Set the magic property media.stagefright.enable-vorbis to true to use the new implementation instead of the standalon vorbis player for file-based playback. HTTP streaming of vorbis content will always go through stagefright.

Change-Id: Ie3843a99fadb22372f89540d0f8d65196e0c2af8
related-to-bug: 2654400

14 years agoCall into app widget hosts when the provider is updated.
Joe Onorato [Tue, 4 May 2010 18:49:12 +0000 (11:49 -0700)]
Call into app widget hosts when the provider is updated.

Change-Id: If0a2459901e88cf04810b23178e4673d44fa69cc

14 years agoIncrease the row height of menus by 1dip.
Daniel Sandler [Tue, 4 May 2010 18:33:28 +0000 (14:33 -0400)]
Increase the row height of menus by 1dip.

This prevents CJK characters, which have extra-tall
ascenders, from being clipped by the drawable in
IconMenuItemView.

Bug: 2330380
Change-Id: I1256b85122e1634d5220c648111a5ffe43879f1f

14 years agoAdding the backward-compatible filtering heuristics for the new device
Dan Morrill [Mon, 3 May 2010 23:13:14 +0000 (16:13 -0700)]
Adding the backward-compatible filtering heuristics for the new device
features definitions added in FroYo.

Change-Id: I5024e45c62813fe2fd2ff4d222df816a86a94f86

14 years agodocs: resolve doc bug
Scott Main [Sun, 2 May 2010 23:57:50 +0000 (16:57 -0700)]
docs: resolve doc bug
bug:2648699

Change-Id: I8da83978953fed1952b595d5c9a36ee740287b33

14 years agoMerge "Tweak style of recent apps dialog title." into froyo
Daniel Sandler [Fri, 30 Apr 2010 17:55:03 +0000 (10:55 -0700)]
Merge "Tweak style of recent apps dialog title." into froyo

14 years agoTweak style of recent apps dialog title.
Daniel Sandler [Fri, 30 Apr 2010 17:36:13 +0000 (13:36 -0400)]
Tweak style of recent apps dialog title.

Lovingly hand-crafted to UX's specification.

Bug: 2614279
Change-Id: I14a50e80ed4d97e5d14c7a94586380a27c845263

14 years agodocs: revise and add documentation for backup APIs
Scott Main [Fri, 30 Apr 2010 04:42:58 +0000 (21:42 -0700)]
docs: revise and add documentation for backup APIs

Change-Id: I0b015a6de16da07ccd31756b8d2329dc2785c2f7

14 years agoMerge "docs: editorial revisions to the bmgr tool doc" into froyo
Scott Main [Fri, 30 Apr 2010 04:22:17 +0000 (21:22 -0700)]
Merge "docs: editorial revisions to the bmgr tool doc" into froyo

14 years agoMerge "Expose _id in ExtendedProperties subValues" into froyo
Marc Blank [Thu, 29 Apr 2010 22:39:37 +0000 (15:39 -0700)]
Merge "Expose _id in ExtendedProperties subValues" into froyo

14 years agoMerge "Import revised translations" into froyo
Kenny Root [Thu, 29 Apr 2010 22:28:15 +0000 (15:28 -0700)]
Merge "Import revised translations" into froyo

14 years agoImport revised translations
Kenny Root [Thu, 29 Apr 2010 22:25:21 +0000 (15:25 -0700)]
Import revised translations

Change-Id: I94756035b7d3bfe2027c578a6c1578df5219f8ea

14 years agoMerge "docs: rewrite information about using shared preferences, internal and externa...
Scott Main [Thu, 29 Apr 2010 22:21:34 +0000 (15:21 -0700)]
Merge "docs: rewrite information about using shared preferences, internal and external storage (including new apis), and sqlite databases." into froyo

14 years agoExpose _id in ExtendedProperties subValues
Marc Blank [Thu, 29 Apr 2010 21:16:48 +0000 (14:16 -0700)]
Expose _id in ExtendedProperties subValues

* ExtendedValues' "name" and "value" columns are exposed in Entry
  entity subvalues, but it is clumsy to change a value, as the _id
  of the ExtendedValues row isn't also exposed.  (We otherwise have to
  perform a potentially slow query)
* This CL adds the _id column to the columns exposed

Bug: 2638762
Change-Id: Iaffeffed620af78439f5f73aa5f3257b0f8a0fd0

14 years agodocs: rewrite information about using shared preferences, internal and
Scott Main [Thu, 22 Apr 2010 19:30:25 +0000 (12:30 -0700)]
docs: rewrite information about using shared preferences, internal and
external storage (including new apis), and sqlite databases.

Change-Id: Ib951f14764759a04beca7b24767fb1e927245ebd

14 years agoFix issue #2641875: Apps on sdcard not accesible after update
Dianne Hackborn [Thu, 29 Apr 2010 18:56:40 +0000 (11:56 -0700)]
Fix issue #2641875: Apps on sdcard not accesible after update

Change-Id: I541aa040939e6a872f0b7e8e82e44f96de49d97a

14 years agoFix bug 2639949 - Don't stop a Scroller early
Adam Powell [Wed, 28 Apr 2010 23:36:37 +0000 (16:36 -0700)]
Fix bug 2639949 - Don't stop a Scroller early

Change-Id: Ia827199a27d03289b6fa573dd6f2b13517943400

14 years agoMerge "Fix a minor bug in transitions to left-edge-up landscape." into froyo
Steve Howard [Wed, 28 Apr 2010 22:59:39 +0000 (15:59 -0700)]
Merge "Fix a minor bug in transitions to left-edge-up landscape." into froyo

14 years agoMerge "bug:2622719 move 'forcing of cursor execution' to ContentProvider" into froyo
Vasu Nori [Wed, 28 Apr 2010 22:35:57 +0000 (15:35 -0700)]
Merge "bug:2622719  move 'forcing of cursor execution' to ContentProvider" into froyo

14 years agobug:2622719 move 'forcing of cursor execution' to ContentProvider
Vasu Nori [Wed, 28 Apr 2010 21:22:38 +0000 (14:22 -0700)]
bug:2622719  move 'forcing of cursor execution' to ContentProvider

revert part of the CL: Ia561135e974a44ad3e3774ecb23c6a3d0fc38176
and add it to ContentProvider.query() to force query execution
in worker thread, instead of having the main thread incur the cost
of query execution and potentially get ANR

Change-Id: I0ea8a170bd954a421f4ad825f8090319a83a5b2b

14 years agoMerge "Make timezone changes apply to status bar time in 24hr mode. Bug: 2632681...
Amith Yamasani [Wed, 28 Apr 2010 22:18:15 +0000 (15:18 -0700)]
Merge "Make timezone changes apply to status bar time in 24hr mode. Bug: 2632681" into froyo

14 years agoFix a minor bug in transitions to left-edge-up landscape.
Steve Howard [Wed, 28 Apr 2010 21:19:28 +0000 (14:19 -0700)]
Fix a minor bug in transitions to left-edge-up landscape.

Fix MAX_TRANSITION_TILT to remove the entry for upside-down
orientation, which should've been removed when that orientation itself
was removed.  This was causing the phone to require further vertical
tilt for transitions to left-edge-up landscape, as compared to
right-edge-up landscape or portait mode.

Bug: 2639310
Change-Id: I8fe2e2baecd6a9c2cecae95d316b0d4e2f8ee251

14 years agoMerge "revert a change in the SyncManager that caused it to not cancel long running...
Fred Quintana [Wed, 28 Apr 2010 21:10:05 +0000 (14:10 -0700)]
Merge "revert a change in the SyncManager that caused it to not cancel long running syncs if the next sync had the same account and authority." into froyo

14 years agoMake timezone changes apply to status bar time in 24hr mode. Bug: 2632681
Amith Yamasani [Wed, 28 Apr 2010 20:20:43 +0000 (13:20 -0700)]
Make timezone changes apply to status bar time in 24hr mode. Bug: 2632681

The SimpleDateFormat was being cached and new timezone not being applied. Make sure
to apply the new timezone to the format object as soon as it changes.

Change-Id: I72abfef2e14cf5db5a6e8cb71b053380b695495c

14 years agoMerge "Fix issue #2569139: Sapphire user cannot login to last.fm..." into froyo
Dianne Hackborn [Wed, 28 Apr 2010 19:42:00 +0000 (12:42 -0700)]
Merge "Fix issue #2569139: Sapphire user cannot login to last.fm..." into froyo

14 years agodocs: editorial revisions to the bmgr tool doc
Scott Main [Wed, 28 Apr 2010 18:20:20 +0000 (11:20 -0700)]
docs: editorial revisions to the bmgr tool doc

Change-Id: Ide8fbfae07af3a02511bef301f839c8a56b3e874

14 years agoFix issue #2569139: Sapphire user cannot login to last.fm...
Dianne Hackborn [Wed, 28 Apr 2010 18:00:44 +0000 (11:00 -0700)]
Fix issue #2569139: Sapphire user cannot login to last.fm...

...after upgrade from Donut to FRF01B

For realz this time.

Change-Id: I92bd12451b19a6006cf487a9dfa0b7c696a21122

14 years agoMerge "Import revised translations" into froyo
Kenny Root [Wed, 28 Apr 2010 15:05:03 +0000 (08:05 -0700)]
Merge "Import revised translations" into froyo

14 years agoMerge "docs: update information about developing on a device. Remove details about...
Scott Main [Wed, 28 Apr 2010 01:35:53 +0000 (18:35 -0700)]
Merge "docs: update information about developing on a device. Remove details about ADP1 and revise intro. Add links to the device doc from installing guides. Revise the procedures for Running Your Application in both the Eclipse and Other IDE guides to specifically describe using a device and make both docs more consistent with each other." into froyo

14 years agoMerge "remove myname accidentally included in one of the files" into froyo
Vasu Nori [Tue, 27 Apr 2010 23:44:58 +0000 (16:44 -0700)]
Merge "remove myname accidentally included in one of the files" into froyo

14 years agoMerge "Fix issue #2594388: WallpaperService doesn't always call onSurfaceDestroyed...
Dianne Hackborn [Tue, 27 Apr 2010 23:39:44 +0000 (16:39 -0700)]
Merge "Fix issue #2594388: WallpaperService doesn't always call onSurfaceDestroyed()" into froyo

14 years agorevert a change in the SyncManager that caused it to not cancel
Fred Quintana [Tue, 27 Apr 2010 23:33:19 +0000 (16:33 -0700)]
revert a change in the SyncManager that caused it to not cancel
long running syncs if the next sync had the same account and
authority.

Change-Id: I0c18ce3b7098e79e2080e401e441ad246b1d6910
http://b/2631221

14 years agoremove myname accidentally included in one of the files
Vasu Nori [Tue, 27 Apr 2010 23:24:20 +0000 (16:24 -0700)]
remove myname accidentally included in one of the files

Change-Id: I189db1cc60069b4318fa32a8b5aea6916ac5aa4e

14 years agodocs: update information about developing on a device.
Scott Main [Tue, 6 Apr 2010 00:42:17 +0000 (17:42 -0700)]
docs: update information about developing on a device.
Remove details about ADP1 and revise intro.
Add links to the device doc from installing guides.
Revise the procedures for Running Your Application in both the
Eclipse and Other IDE guides to specifically describe using a device
and make both docs more consistent with each other.

Change-Id: Ica77533e78141db43eb3ed214309f571beff7353

14 years agoFix issue #2594388: WallpaperService doesn't always call onSurfaceDestroyed()
Dianne Hackborn [Tue, 27 Apr 2010 22:54:02 +0000 (15:54 -0700)]
Fix issue #2594388: WallpaperService doesn't always call onSurfaceDestroyed()

Take care of the window manager destroying a surface, to report to the
app that it has been destroyed.  Make sure to perform a traversal when
becoming visible to re-create the surface if needed.

Change-Id: If3bc05e0106f90d4c3bad2d7575212667680fbc8

14 years agoImport revised translations
Kenny Root [Tue, 27 Apr 2010 21:11:05 +0000 (14:11 -0700)]
Import revised translations

Change-Id: I03670c68c861c85e299c020bef04b663ac28b69c

14 years agoAdd good international characters to the path part of Url pattern.
Shimeng (Simon) Wang [Tue, 27 Apr 2010 10:33:15 +0000 (11:33 +0100)]
Add good international characters to the path part of Url pattern.

Change-Id: Ib24f8ffc8554366cb4350ec2f9d7e77efb0cb083

14 years agoMerge "Fix a WebView scrolling regression - bug 2633572." into froyo
Adam Powell [Tue, 27 Apr 2010 19:05:40 +0000 (12:05 -0700)]
Merge "Fix a WebView scrolling regression - bug 2633572." into froyo

14 years agoMerge "Add JavaDoc for SyncResult http://b/2420252" into froyo
Fred Quintana [Tue, 27 Apr 2010 18:56:16 +0000 (11:56 -0700)]
Merge "Add JavaDoc for SyncResult b/2420252" into froyo

14 years agoFix a WebView scrolling regression - bug 2633572.
Adam Powell [Tue, 27 Apr 2010 18:45:38 +0000 (11:45 -0700)]
Fix a WebView scrolling regression - bug 2633572.

Update mLastTouchX/Y on every drag. This prevents the creation of
dead zones that the user has to drag back out of at the edges of
a document.

Change-Id: I348d96dfd3907dba7c6ddd86b678329d65063ba9

14 years agoAdd JavaDoc for SyncResult
Fred Quintana [Tue, 27 Apr 2010 00:38:56 +0000 (17:38 -0700)]
Add JavaDoc for SyncResult
http://b/2420252

Change-Id: I88be5232d54959f6ec3480c36751a8fb7dc369fd

14 years agodumpstate: Add blocked process wait-channel info to bugreport
San Mehat [Tue, 27 Apr 2010 17:53:35 +0000 (10:53 -0700)]
dumpstate: Add blocked process wait-channel info to bugreport

Fix for http://b/2630027

Change-Id: I3606d8bf95c58df2b290dbd13f48538d82f16088
Signed-off-by: San Mehat <san@google.com>
14 years agoMerge "Whoops a little more on issue #2631417: Expose FLAG_EXTERNAL_STORAGE" into...
Dianne Hackborn [Tue, 27 Apr 2010 01:51:31 +0000 (18:51 -0700)]
Merge "Whoops a little more on issue #2631417: Expose FLAG_EXTERNAL_STORAGE" into froyo

14 years agoWhoops a little more on issue #2631417: Expose FLAG_EXTERNAL_STORAGE
Dianne Hackborn [Tue, 27 Apr 2010 01:13:10 +0000 (18:13 -0700)]
Whoops a little more on issue #2631417: Expose FLAG_EXTERNAL_STORAGE

There was a gap in the bit numbers.

Change-Id: I0feef7dc4abed5db7412659b5ad078caffe4f2d4

14 years agoMerge "Fix bug 2605504 Don't leak a metric ton of NotificationPlayer threads The...
Jean-Michel Trivi [Tue, 27 Apr 2010 01:02:35 +0000 (18:02 -0700)]
Merge "Fix bug 2605504 Don't leak a metric ton of NotificationPlayer threads The Looper on the thread created in order to be notified of the playback completion of notification sounds, was never stopped, causing the threads to stay around in wait state. The fix consists in quitting the Looper used for the previous sound when a new sound is started." into froyo

14 years agoFix issue #2631417: Expose FLAG_EXTERNAL_STORAGE
Dianne Hackborn [Tue, 27 Apr 2010 00:51:34 +0000 (17:51 -0700)]
Fix issue #2631417: Expose FLAG_EXTERNAL_STORAGE

Also update 8.xml to match the current API.

Change-Id: I668fe56f6c156c2e8daa458baa7410fdb8ebef52

14 years agoFix bug 2605504 Don't leak a metric ton of NotificationPlayer threads
Jean-Michel Trivi [Tue, 27 Apr 2010 00:21:40 +0000 (17:21 -0700)]
Fix bug 2605504 Don't leak a metric ton of NotificationPlayer threads
The Looper on the thread created in order to be notified of the
playback completion of notification sounds, was never stopped, causing
the threads to stay around in wait state.
The fix consists in quitting the Looper used for the previous sound
when a new sound is started.

Change-Id: Ia4b3d16b5447ffafacc093db3a7fe05574089935

14 years agoMake Surface.toString() show more useful info to help debug bug 2594388.
Marco Nelissen [Mon, 26 Apr 2010 23:05:48 +0000 (16:05 -0700)]
Make Surface.toString() show more useful info to help debug bug 2594388.

Change-Id: I005d3388503d8886e11a26fece30b87572934f15

14 years agoFix Throttle reset.
Robert Greenwalt [Mon, 26 Apr 2010 19:29:14 +0000 (12:29 -0700)]
Fix Throttle reset.

The start and end times were precisely the same so, a ">" check needed to be ">=".
Also removed useless code and removed the potential problem where continuous gradual
advancement of your start and end times would prevent resets.

bug:2629717
Change-Id: Ieced1965a5611a9b555e92bcf924ec350f2a80db

14 years agoMerge "Handle throttling being disabled via policy change" into froyo
Robert Greenwalt [Mon, 26 Apr 2010 18:13:11 +0000 (11:13 -0700)]
Merge "Handle throttling being disabled via policy change" into froyo

14 years agoSwitch to use software MP3 decoder
James Dong [Mon, 26 Apr 2010 17:23:30 +0000 (10:23 -0700)]
Switch to use software MP3 decoder
Hardware MP3 decoder could lead to hang in the Music application, although the chance is very low.

bug - 2608400

Change-Id: Ia0b5b6521015fc8d3e086117fa914dcc20ace5bd

14 years agoMerge "bugfix for: OOM error while doing voice search repeatedly" into froyo
Bjorn Bringert [Mon, 26 Apr 2010 14:52:57 +0000 (07:52 -0700)]
Merge "bugfix for: OOM error while doing voice search repeatedly" into froyo

14 years agoHandle throttling being disabled via policy change
Robert Greenwalt [Sat, 24 Apr 2010 00:35:29 +0000 (17:35 -0700)]
Handle throttling being disabled via policy change

bug:2622543
Change-Id: Ic0c169094cdb4f80af9cfcbed116f59fda46a421

14 years agoMerge "Restrict the range request to the servers claiming that they accept ranges...
Grace Kloba [Fri, 23 Apr 2010 23:19:22 +0000 (16:19 -0700)]
Merge "Restrict the range request to the servers claiming that they accept ranges. This may be too restrict as the spec says the server MAY set this in the response header. But this is the last minute change made in https://android-git.corp.google.com/g/#change,49444 I think it is safer to be conservative." into froyo

14 years agoRestrict the range request to the servers claiming
Grace Kloba [Fri, 23 Apr 2010 22:57:58 +0000 (15:57 -0700)]
Restrict the range request to the servers claiming
that they accept ranges. This may be too restrict as
the spec says the server MAY set this in the response
header. But this is the last minute change made in
https://android-git.corp.google.com/g/#change,49444
I think it is safer to be conservative.

Fix http://b/issue?id=2616477

14 years agoFix aapt to build in Windows SDK under Linux
Raphael [Tue, 13 Apr 2010 22:21:32 +0000 (15:21 -0700)]
Fix aapt to build in Windows SDK under Linux

(Merge master Change Ic4a7b9e4)

14 years agoMerge "Only honor the scrollbar mode at the minimum zoom level. This reduced the...
Grace Kloba [Fri, 23 Apr 2010 22:27:58 +0000 (15:27 -0700)]
Merge "Only honor the scrollbar mode at the minimum zoom level. This reduced the impact of https://android-git.corp.google.com/g/#change,48683. In GB, we need to revisit this issue." into froyo

14 years agoOnly honor the scrollbar mode at the minimum zoom
Grace Kloba [Fri, 23 Apr 2010 22:21:24 +0000 (15:21 -0700)]
Only honor the scrollbar mode at the minimum zoom
level. This reduced the impact of https://android-git.corp.google.com/g/#change,48683.
In GB, we need to revisit this issue.

Wit this CL, http://b/issue?id=2512549 is still fine.

Fix http://b/issue?id=2619398
It should fix http://b/issue?id=2619415 when it is not in zoom out case.
It doesn't fix http://b/issue?id=2620979 as the site
is a mobile site. We have conflict with the requirement
from http://b/issue?id=2512549

14 years agoMerge "Fix typo when parsing external platform version from Settings." into froyo
Dianne Hackborn [Fri, 23 Apr 2010 22:19:34 +0000 (15:19 -0700)]
Merge "Fix typo when parsing external platform version from Settings." into froyo

14 years agoMerge "Fix bug 2619062 Music is routed to Phone speaker, though it is connected to...
Jean-Michel Trivi [Fri, 23 Apr 2010 21:48:10 +0000 (14:48 -0700)]
Merge "Fix bug 2619062 Music is routed to Phone speaker, though it is connected to A2DP media profile" into froyo

14 years agoFix typo when parsing external platform version from Settings.
Bryan Mawhinney [Fri, 23 Apr 2010 13:38:31 +0000 (14:38 +0100)]
Fix typo when parsing external platform version from Settings.

May fix http://b/2569139

Change-Id: I437f614fd25512bd461812feddb091edcd12ccb7

14 years agoMerge "Fix issue #2621809: Kill! Kill! Kill!" into froyo
Dianne Hackborn [Fri, 23 Apr 2010 21:23:39 +0000 (14:23 -0700)]
Merge "Fix issue #2621809: Kill! Kill! Kill!" into froyo

14 years agoMerge "Re-enabling unit tests for PackageManager/Apps on SD." into froyo
Neal Nguyen [Fri, 23 Apr 2010 21:21:53 +0000 (14:21 -0700)]
Merge "Re-enabling unit tests for PackageManager/Apps on SD." into froyo

14 years agoFix issue #2621809: Kill! Kill! Kill!
Dianne Hackborn [Fri, 23 Apr 2010 21:20:03 +0000 (14:20 -0700)]
Fix issue #2621809: Kill! Kill! Kill!

Stop! Stop! Stop!  Spamming the log.

Change-Id: I13f432b49d8c85165873566d58e2fb2714b1263e

14 years agoFix bug 2619062 Music is routed to Phone speaker, though it is
Jean-Michel Trivi [Fri, 23 Apr 2010 18:49:29 +0000 (11:49 -0700)]
Fix bug 2619062 Music is routed to Phone speaker, though it is
connected to A2DP media profile

When the phone is docked and using the dock A2DP, and the user
connects another A2DP device, make the dock unavailable immediately
before connecting the new A2DP device.

Change-Id: I82d53836fb509ee4ea7cdb68f467dfb946c634f8

14 years agoMerge "Respond to changes in throttle policy." into froyo
Robert Greenwalt [Fri, 23 Apr 2010 20:50:03 +0000 (13:50 -0700)]
Merge "Respond to changes in throttle policy." into froyo

14 years agoRespond to changes in throttle policy.
Robert Greenwalt [Fri, 23 Apr 2010 20:15:44 +0000 (13:15 -0700)]
Respond to changes in throttle policy.

We were updating limits and such before, but we were not applying them
to the current situation if we were already throttled.  Now it can result in
us throttling or changing our throttle rate or unthrottling or even making
the ui come or go (disabling/enable throttling)

bug:2622543
bug:2619879
Change-Id: I64a62634d54f4768ab8625f8d72f9f66a239cb19

14 years agoMerge "Some debugging help for issue #2594388" into froyo
Dianne Hackborn [Fri, 23 Apr 2010 19:59:47 +0000 (12:59 -0700)]
Merge "Some debugging help for issue #2594388" into froyo

14 years agoRe-enabling unit tests for PackageManager/Apps on SD.
Neal Nguyen [Thu, 22 Apr 2010 20:54:32 +0000 (13:54 -0700)]
Re-enabling unit tests for PackageManager/Apps on SD.

Change-Id: I305d2e6d96418ab5b2df0ee7a31261180676204f