OSDN Git Service

android-x86/frameworks-base.git
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 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 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

14 years agoMerge "Add a Throttle check shortly after boot." into froyo
Robert Greenwalt [Fri, 23 Apr 2010 17:17:14 +0000 (10:17 -0700)]
Merge "Add a Throttle check shortly after boot." into froyo

14 years agoSome debugging help for issue #2594388
Dianne Hackborn [Fri, 23 Apr 2010 01:59:03 +0000 (18:59 -0700)]
Some debugging help for issue #2594388

WallpaperService doesn't always call onSurfaceDestroyed()

Just helps us see a little better what is going on.

Change-Id: Ibe8efd9e343e880ca31df446c8b36c7fa3722e87

14 years agoMerge "bug #2618035: applying Moto's patch to fix a email/shortcode parsing bug....
Wei Huang [Thu, 22 Apr 2010 23:33:40 +0000 (16:33 -0700)]
Merge "bug #2618035: applying Moto's patch to fix a email/shortcode parsing bug." into froyo

14 years agoMerge "Fix issue #2619247: Music sometimes stops playing when navigation talks" into...
Dianne Hackborn [Thu, 22 Apr 2010 23:23:44 +0000 (16:23 -0700)]
Merge "Fix issue #2619247: Music sometimes stops playing when navigation talks" into froyo

14 years agoMerge "Fix issue #2608292: Fails to launch the video camera preview" into froyo
Dianne Hackborn [Thu, 22 Apr 2010 23:20:19 +0000 (16:20 -0700)]
Merge "Fix issue #2608292: Fails to launch the video camera preview" into froyo

14 years agoFix issue #2619247: Music sometimes stops playing when navigation talks
Dianne Hackborn [Thu, 22 Apr 2010 23:03:41 +0000 (16:03 -0700)]
Fix issue #2619247: Music sometimes stops playing when navigation talks

When a service transitions from foreground to background, we now push it
to the top of the LRU list.  Also fix the activity manager to take care
of killing processes if we go beyond a reasonable number of background
process to keep around.

Change-Id: Ic9f44c02af7a111ee6f1d06142386b301948bafe

14 years agoFix issue #2608292: Fails to launch the video camera preview
Dianne Hackborn [Thu, 22 Apr 2010 22:59:21 +0000 (15:59 -0700)]
Fix issue #2608292: Fails to launch the video camera preview

Need to clear the attached hidden flag on the window, even if it does
not yet have an actual surface.

Change-Id: I0a90f6b03cd8e347a3eae4d6bea3ab93f7128bf4

14 years agoMerge "Fix error code when media is filled up." into froyo
Suchi Amalapurapu [Thu, 22 Apr 2010 22:52:25 +0000 (15:52 -0700)]
Merge "Fix error code when media is filled up." into froyo

14 years agoAdd a Throttle check shortly after boot.
Robert Greenwalt [Thu, 22 Apr 2010 22:39:38 +0000 (15:39 -0700)]
Add a Throttle check shortly after boot.

Throttle is useless when ntp and imsi are not yet ready.  In the real world
the second check won't happen for 10 minutes letting people do what they want
for 10 minutes each boot.  Trim this down with a quicker first check.

bug:2614247
Change-Id: I84ec33f31e8fed37b3933482fbc187b8e9e94e79

14 years agobug #2618035: applying Moto's patch to fix a email/shortcode parsing bug.
Wei Huang [Thu, 22 Apr 2010 22:13:48 +0000 (15:13 -0700)]
bug #2618035: applying Moto's patch to fix a email/shortcode parsing bug.

Change-Id: Ica1df6582533edf8d9a5825dbe510eeab4828309

14 years agoRemove the WebTextView if it is drawing when it shouldn't.
Leon Scroggins [Thu, 22 Apr 2010 20:27:21 +0000 (16:27 -0400)]
Remove the WebTextView if it is drawing when it shouldn't.

Bug 2614064

Change-Id: Id5d0a27e862bb783299f6fa4863221a27318f52c

14 years agoFix error code when media is filled up.
Suchi Amalapurapu [Thu, 22 Apr 2010 20:22:17 +0000 (13:22 -0700)]
Fix error code when media is filled up.

Change-Id: Id8dae2e7c967e3f103aecd2f31abb7e292af8f1d

14 years agoMerge "Added the subset of partial content support so that we can continue the interr...
Grace Kloba [Thu, 22 Apr 2010 20:01:55 +0000 (13:01 -0700)]
Merge "Added the subset of partial content support so that we can continue the interrupted request to support streaming the content even with a brief disconnection." into froyo

14 years agoMerge "SDK: new 'bmgr' docs in the Dev Guide" into froyo
Christopher Tate [Thu, 22 Apr 2010 19:51:22 +0000 (12:51 -0700)]
Merge "SDK: new 'bmgr' docs in the Dev Guide" into froyo

14 years agobugfix for: OOM error while doing voice search repeatedly
Valentin Kravtsov [Wed, 21 Apr 2010 21:27:05 +0000 (22:27 +0100)]
bugfix for: OOM error while doing voice search repeatedly

fix for: http://b/issue?id=2599931

Change-Id: Ic27d9eb8b29afa99787e469d9248c20f7d2988de

14 years agoAdded the subset of partial content support so that
Grace Kloba [Thu, 22 Apr 2010 06:57:43 +0000 (23:57 -0700)]
Added the subset of partial content support so that
we can continue the interrupted request to support
streaming the content even with a brief disconnection.

Note: we don't update the headers for partial content
as the headers we care should not be updated. See
a list in chromium/net/http/http_response_headers.cc.

We currently also don't support cache for partial content.

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

14 years agoMerge "Trim throttle logs." into froyo
Robert Greenwalt [Thu, 22 Apr 2010 16:08:25 +0000 (09:08 -0700)]
Merge "Trim throttle logs." into froyo

14 years agoTrim throttle logs.
Robert Greenwalt [Thu, 22 Apr 2010 00:09:38 +0000 (17:09 -0700)]
Trim throttle logs.

Removing unwanted sntp logging and throttle logging.

bug:2614927
Change-Id: Ic0b1c3502ebbc1f04130d09d715591af6513f439

14 years agoMerge "Post a message to set SurfaceView to be visible when we switch to use the...
Grace Kloba [Thu, 22 Apr 2010 15:20:23 +0000 (08:20 -0700)]
Merge "Post a message to set SurfaceView to be visible when we switch to use the layout size. Otherwise it will first use the old dimension which can exceed the  limit, which in turn causes the Browser to crash." into froyo

14 years agoPost a message to set SurfaceView to be visible when
Grace Kloba [Thu, 22 Apr 2010 04:14:23 +0000 (21:14 -0700)]
Post a message to set SurfaceView to be visible when
we switch to use the layout size. Otherwise it will
first use the old dimension which can exceed the
limit, which in turn causes the Browser to crash.

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

14 years agoMerge "Fix security hole in Google backup transport registration" into froyo
Christopher Tate [Thu, 22 Apr 2010 01:10:20 +0000 (18:10 -0700)]
Merge "Fix security hole in Google backup transport registration" into froyo

14 years agoFix security hole in Google backup transport registration
Christopher Tate [Thu, 22 Apr 2010 00:58:07 +0000 (17:58 -0700)]
Fix security hole in Google backup transport registration

Previously, it was conceivable that a 3rd party application on a non-GED
device could publish a service that supported the (hidden) IBackupTransport
interface and spoofed the Google backup transport's package and component
name.  This could allow it to secretly intercept all data moved through the
backup mechanism.

Fix by ensuring that the package in question exists and is part of the
OS itself (FLAG_SYSTEM in its ApplicationInfo description) before binding
to it.

Fixes bug #2457063

Change-Id: I3487572be45c2014fa209beacfe3ac6f8270f872

14 years agoSDK: new 'bmgr' docs in the Dev Guide
Christopher Tate [Wed, 21 Apr 2010 21:32:53 +0000 (14:32 -0700)]
SDK: new 'bmgr' docs in the Dev Guide

Bug #2611397

Change-Id: If806e05bbaa55adb2b8483de08fb1af57bc69c35

14 years agoMerge "Add ILLEGAL_SIM_OR_ME error code." into froyo
John Wang [Wed, 21 Apr 2010 21:43:12 +0000 (14:43 -0700)]
Merge "Add ILLEGAL_SIM_OR_ME error code." into froyo

14 years agoAdd ILLEGAL_SIM_OR_ME error code.
John Wang [Wed, 21 Apr 2010 18:34:15 +0000 (11:34 -0700)]
Add ILLEGAL_SIM_OR_ME error code.

It is for bug 2571583 to provide better failure information of network operator selection.

Network selection returns ILLEGAL_SIM_OR_ME when the failure is
permanent and no retries needed, such as illegal SIM, ME, HRL config, etc.

Change-Id: Iaf70bef64d3cbf35e4d9915418cbb5b78607f73e

14 years agoAdd title to recent apps dialog.
Joe Onorato [Wed, 21 Apr 2010 17:59:50 +0000 (13:59 -0400)]
Add title to recent apps dialog.

Bug: 2614279

Change-Id: I45ebcd2e45140901df246db10f756c07864cccb4

14 years agoDO NOT MERGE fix [2557396] Adreno200: glDrawTexi() doesn't work with height <= 16
Mathias Agopian [Wed, 21 Apr 2010 04:55:40 +0000 (21:55 -0700)]
DO NOT MERGE fix [2557396] Adreno200: glDrawTexi() doesn't work with height <= 16

don't use glDrawTexi() anymore

Change-Id: If71334de39114b0edce7771366f8d8dc26f6911e

14 years agoMerge "Fix PM crash due to bad array bookkeeping logic." into froyo
Jeff Brown [Wed, 21 Apr 2010 00:53:00 +0000 (17:53 -0700)]
Merge "Fix PM crash due to bad array bookkeeping logic." into froyo

14 years agoMerge "Move Tethering off the ServerThread." into froyo
Robert Greenwalt [Wed, 21 Apr 2010 00:37:22 +0000 (17:37 -0700)]
Merge "Move Tethering off the ServerThread." into froyo

14 years agoFix PM crash due to bad array bookkeeping logic.
Jeff Brown [Wed, 21 Apr 2010 00:21:47 +0000 (17:21 -0700)]
Fix PM crash due to bad array bookkeeping logic.

Bug: 2586093
Change-Id: I320deeef65a434060e608015dc2dd97b8200e025

14 years agoMerge "Apparently select() does not immediately return if one of the masked socket...
Andreas Huber [Tue, 20 Apr 2010 23:29:23 +0000 (16:29 -0700)]
Merge "Apparently select() does not immediately return if one of the masked socket descriptors is closed... Stop relying on select for read-with-timeout functionality and use SO_RCVTIMEO socket option instead." into froyo

14 years agoMerge "Update AudioService to reflect phone state changes with AudioFocus. Phone...
Jean-Michel Trivi [Tue, 20 Apr 2010 22:57:30 +0000 (15:57 -0700)]
Merge "Update AudioService to reflect phone state changes with AudioFocus. Phone calls and rings are treated as a new client, with a dedicated client ID that identifies it in the audio focus stack. When it is present in the stack, others clients cannot request audio focus (request is denied). Because the phone state is now mostly handled like a new client, there is no need monitor mode changes and to keep track of undispatched focus changes, as those will delayed focus gains will now automatically happen at the end of the call when the phone client is removed from the focus stack." into froyo

14 years agoApparently select() does not immediately return if one of the masked socket descripto...
Andreas Huber [Tue, 20 Apr 2010 22:46:28 +0000 (15:46 -0700)]
Apparently select() does not immediately return if one of the masked socket descriptors is closed... Stop relying on select for read-with-timeout functionality and use SO_RCVTIMEO socket option instead.

Change-Id: Ic2d4a8f5b6bbf16772fba39377809ec68d249c1f
related-to-bug: 2611257

14 years agoMove Tethering off the ServerThread.
Robert Greenwalt [Tue, 20 Apr 2010 22:51:20 +0000 (15:51 -0700)]
Move Tethering off the ServerThread.

An ANR has been reported because somebody else was hogging the Netd
link.  We can't pause the server thread for that, so make a new thread.

bug:2609904
Change-Id: I0430a08621da1cda0a0010ce15826cceee59a529

14 years agoUpdate AudioService to reflect phone state changes with AudioFocus.
Jean-Michel Trivi [Tue, 20 Apr 2010 21:56:34 +0000 (14:56 -0700)]
Update AudioService to reflect phone state changes with AudioFocus.
Phone calls and rings are treated as a new client, with a dedicated
client ID that identifies it in the audio focus stack. When it is
present in the stack, others clients cannot request audio focus
(request is denied).
Because the phone state is now mostly handled like a new client,
there is no need monitor mode changes and to keep track of
undispatched focus changes, as those will delayed focus gains
will now automatically happen at the end of the call when the
phone client is removed from the focus stack.

Change-Id: I11ff73b015ab93f07040755fd8ee75c8d675e025

14 years agoMerge "Fix 2610961 Unhide broadcast intents that are sent when sdcard gets mounted...
Suchi Amalapurapu [Tue, 20 Apr 2010 22:04:41 +0000 (15:04 -0700)]
Merge "Fix 2610961 Unhide broadcast intents that are sent when sdcard gets mounted/unmounted." into froyo

14 years agoMerge "Don't coalesce more than 250ms worth of encoded data into a single codec input...
Andreas Huber [Tue, 20 Apr 2010 21:48:45 +0000 (14:48 -0700)]
Merge "Don't coalesce more than 250ms worth of encoded data into a single codec input buffer. This currently only applies to the component OMX.TI.AAC.decode, it is the only one to support coalescing in the first place." into froyo

14 years agoMerge "Fix bug 2604132 40s skip after undocking In case of A2DP write errors, there...
Jean-Michel Trivi [Tue, 20 Apr 2010 21:41:11 +0000 (14:41 -0700)]
Merge "Fix bug 2604132 40s skip after undocking In case of A2DP write errors, there is an overflow in the calculation of the sleep duration to simulate the timing of a successful write." into froyo

14 years agoDon't coalesce more than 250ms worth of encoded data into a single codec input buffer.
Andreas Huber [Tue, 20 Apr 2010 21:26:00 +0000 (14:26 -0700)]
Don't coalesce more than 250ms worth of encoded data into a single codec input buffer.
This currently only applies to the component OMX.TI.AAC.decode, it is the only one to support coalescing in the first place.

In certain edge cases (encoded audio track contains silence), each buffer would turn out to be an amazing 6(!!!) bytes, we'd spend lots and lots of time streaming network data to fill the codec's buffers of size 6144 bytes with .. silence.

Change-Id: I9f449f310fc64ca384bd02e4a783e33cf5b46fcc
related-to-bug: 2609049
QA-Impact: streamed (http) playback of aac audio content on Droid.

14 years agoFix 2610961
Suchi Amalapurapu [Tue, 20 Apr 2010 21:08:08 +0000 (14:08 -0700)]
Fix 2610961
Unhide broadcast intents that are sent when sdcard gets mounted/unmounted.

Change-Id: Ibb5700178e98f657f1c2b6a2f83e722151c4a44f

14 years agoMerge "Speed up layers rendering when using animations Cherry-pick from master" into...
Nicolas Roard [Tue, 20 Apr 2010 20:22:44 +0000 (13:22 -0700)]
Merge "Speed up layers rendering when using animations Cherry-pick from master" into froyo

14 years agoMerge "Make the silent/vibrate status icon reflect overall device state. (DO NOT...
Daniel Sandler [Tue, 20 Apr 2010 19:57:54 +0000 (12:57 -0700)]
Merge "Make the silent/vibrate status icon reflect overall device state. (DO NOT MERGE)" into froyo

14 years agoFix bug 2604132 40s skip after undocking
Jean-Michel Trivi [Tue, 20 Apr 2010 19:12:13 +0000 (12:12 -0700)]
Fix bug 2604132 40s skip after undocking
In case of A2DP write errors, there is an overflow in the calculation
of the sleep duration to simulate the timing of a successful write.

Change-Id: Ic4e570aebf07fac69735aab1bbc2fc73512ee795

14 years agoSpeed up layers rendering when using animations
Nicolas Roard [Tue, 20 Apr 2010 02:08:55 +0000 (19:08 -0700)]
Speed up layers rendering when using animations
Cherry-pick from master

Bug:2522049
Change-Id: I441f00b6e7551930c4f76983681f4cd0c57ce017

14 years agoMerge "Remove code to pass the nonexistant lockprofsample flag to Dalvik." into froyo
Carl Shapiro [Tue, 20 Apr 2010 18:42:39 +0000 (11:42 -0700)]
Merge "Remove code to pass the nonexistant lockprofsample flag to Dalvik." into froyo

14 years agoMerge "Don't inflate the zoom button controller until we are going to show it. This...
Grace Kloba [Tue, 20 Apr 2010 18:40:07 +0000 (11:40 -0700)]
Merge "Don't inflate the zoom button controller until we are going to show it. This should shave 5% of Browser start up time on Sapphire." into froyo

14 years agoMerge "When updating existing entries in the media database, don't update the is_musi...
Marco Nelissen [Tue, 20 Apr 2010 18:24:10 +0000 (11:24 -0700)]
Merge "When updating existing entries in the media database, don't update the is_music, is_ringtone, etc columns. This ensures that custom ringtones will still be shown in the ringtone picker after a rescan. Bug 2594125 Change-Id: I56761240d6f6e699514169d80a445317ba0de9e2" into froyo

14 years agoDon't inflate the zoom button controller until we
Grace Kloba [Tue, 20 Apr 2010 17:02:20 +0000 (10:02 -0700)]
Don't inflate the zoom button controller until we
are going to show it. This should shave 5% of Browser
start up time on Sapphire.

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

14 years agoWhen updating existing entries in the media database, don't update
Marco Nelissen [Tue, 20 Apr 2010 16:46:00 +0000 (09:46 -0700)]
When updating existing entries in the media database, don't update
the is_music, is_ringtone, etc columns. This ensures that custom
ringtones will still be shown in the ringtone picker after a rescan.
Bug 2594125
Change-Id: I56761240d6f6e699514169d80a445317ba0de9e2

14 years agoFix issue 2602879: camera shutter sound not playing.
Eric Laurent [Tue, 20 Apr 2010 16:40:57 +0000 (09:40 -0700)]
Fix issue 2602879: camera shutter sound not playing.

The problem occurs if the device is powered down in silent mode. When the device restarts,
AudioService reads current ringer mode from saved settings but does not call setRingerModeInt()
to perform actions required when ringer mode changes.
The volumes of streams affected by ringer mode are actually at 0 because they are also read from settings
but their mute state is not applied correclty. When we later exit from silent mode, the streams
other than STREAM_RING that are affected by ringer mode are not restored as they are not considered
muted. This applies to STREAM_SYSTEM but also to STREAM_NOTIFICATION if its volume is controlled independently
from STREAM_RING.

The fix consists in calling setRingerModeInt() when AudioService starts.

Change-Id: Ica75b9874938dda1bc1b634c3e97db4a650d295c

14 years agoFix issue 2604270 Device auto connects to Car Dock (Media profile) after undocking.
Eric Laurent [Tue, 20 Apr 2010 14:01:00 +0000 (07:01 -0700)]
Fix issue 2604270  Device auto connects to Car Dock (Media profile) after undocking.

There was a regression introduced by change 4c637b9e34f4c8db69a64ad21a4e2bcfa7485b5f
fixing issue 2578813. As the A2DP device disconnection is notified to the audio policy manager
after a delay, there is a period during which the A2DP device is actually not connected but the
A2DP output is considered present by audio framework. If a playback is started during this period,
The A2DP output requests the activation of the A2DP sink which in turn triggers a reconnection
of the A2DP sink.

The fix consists in suspending the A2DP output immediately when receiving the A2DP disconnection
intent so that any activity on A2DP output is ignored until the output is actually closed by the
audio policy manager.

Change-Id: I16eaace45e12bfc970f50836b46a73b756b493f0

14 years agoRemove code to pass the nonexistant lockprofsample flag to Dalvik.
Carl Shapiro [Tue, 20 Apr 2010 08:25:20 +0000 (01:25 -0700)]
Remove code to pass the nonexistant lockprofsample flag to Dalvik.

Change-Id: If334e21d770bc21a9b7c4f04d0fb652f53359231

14 years agoMerge "fix [2599939] "cannot play video" after open/close a video player a dozen...
Mathias Agopian [Tue, 20 Apr 2010 02:23:45 +0000 (19:23 -0700)]
Merge "fix [2599939] "cannot play video" after open/close a video player a dozen of times" into froyo