OSDN Git Service
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
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
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
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
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
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
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
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
Robert Greenwalt [Mon, 26 Apr 2010 18:13:11 +0000 (11:13 -0700)]
Merge "Handle throttling being disabled via policy change" into froyo
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
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
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
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
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
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)
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
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
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
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
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
Dianne Hackborn [Fri, 23 Apr 2010 21:23:39 +0000 (14:23 -0700)]
Merge "Fix issue #
2621809: Kill! Kill! Kill!" 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
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
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
Robert Greenwalt [Fri, 23 Apr 2010 20:50:03 +0000 (13:50 -0700)]
Merge "Respond to changes in throttle policy." into froyo
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
Dianne Hackborn [Fri, 23 Apr 2010 19:59:47 +0000 (12:59 -0700)]
Merge "Some debugging help for issue #
2594388" into froyo
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
Robert Greenwalt [Fri, 23 Apr 2010 17:17:14 +0000 (10:17 -0700)]
Merge "Add a Throttle check shortly after boot." into froyo
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
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
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
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
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
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
Suchi Amalapurapu [Thu, 22 Apr 2010 22:52:25 +0000 (15:52 -0700)]
Merge "Fix error code when media is filled up." into froyo
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
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
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
Suchi Amalapurapu [Thu, 22 Apr 2010 20:22:17 +0000 (13:22 -0700)]
Fix error code when media is filled up.
Change-Id: Id8dae2e7c967e3f103aecd2f31abb7e292af8f1d
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
Christopher Tate [Thu, 22 Apr 2010 19:51:22 +0000 (12:51 -0700)]
Merge "SDK: new 'bmgr' docs in the Dev Guide" into froyo
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
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
Robert Greenwalt [Thu, 22 Apr 2010 16:08:25 +0000 (09:08 -0700)]
Merge "Trim throttle logs." into froyo
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
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
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
Christopher Tate [Thu, 22 Apr 2010 01:10:20 +0000 (18:10 -0700)]
Merge "Fix security hole in Google backup transport registration" into froyo
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
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
John Wang [Wed, 21 Apr 2010 21:43:12 +0000 (14:43 -0700)]
Merge "Add ILLEGAL_SIM_OR_ME error code." into froyo
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
Joe Onorato [Wed, 21 Apr 2010 17:59:50 +0000 (13:59 -0400)]
Add title to recent apps dialog.
Bug:
2614279
Change-Id: I45ebcd2e45140901df246db10f756c07864cccb4
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
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
Robert Greenwalt [Wed, 21 Apr 2010 00:37:22 +0000 (17:37 -0700)]
Merge "Move Tethering off the ServerThread." into froyo
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Mathias Agopian [Tue, 20 Apr 2010 02:09:03 +0000 (19:09 -0700)]
fix [
2599939] "cannot play video" after open/close a video player a dozen of times
get rid off the MAP_ONCE flag is MemoryHeapBase (as well as it's functionality),
this feature should not be used anymore.
the software renderer was incorrectly using the default ctor which set MAP_ONCE,
causing the leak. the software renderer itself is incorrectly used while coming
back from sleep.
Change-Id: I123621f8d140550b864f352bbcd8a5729db12b57
Jack Palevich [Tue, 20 Apr 2010 02:06:35 +0000 (19:06 -0700)]
Merge "Quietly handle EGL_BAD_NATIVE_WINDOW errors" into froyo
Daisuke Miyakawa [Tue, 20 Apr 2010 00:53:30 +0000 (09:53 +0900)]
Make vCard allow users to refrain image export. Useful when
receivers cannot accept image data.
Bug:
2603200
Change-Id: I3c490b2de37ebb2780df4a27a440df3b0afacb3a
Grace Kloba [Mon, 19 Apr 2010 23:11:21 +0000 (16:11 -0700)]
Merge "Update the comment which supposed to be checked in in the last CL." into froyo
Grace Kloba [Mon, 19 Apr 2010 23:05:19 +0000 (16:05 -0700)]
Update the comment which supposed to be checked in
in the last CL.
Fix http://b/issue?id=
2607352
Adam Powell [Mon, 19 Apr 2010 22:33:08 +0000 (15:33 -0700)]
Merge "Fix bug
2587373 - awaken scrollbars when a scrolling view becomes visible." into froyo
Adam Powell [Mon, 19 Apr 2010 21:26:11 +0000 (14:26 -0700)]
Fix bug
2587373 - awaken scrollbars when a scrolling view becomes visible.
Change-Id: I7eb38c53c3a03b23786b8b0c2d16139acd0eb38e
Robert Greenwalt [Mon, 19 Apr 2010 20:21:01 +0000 (13:21 -0700)]
Merge "Misc fixes for throttling." into froyo
Grace Kloba [Mon, 19 Apr 2010 20:14:21 +0000 (13:14 -0700)]
Merge "Remove fixed size restriction on the SurfaceView before setting it to the full screen content view." into froyo
Robert Greenwalt [Mon, 19 Apr 2010 18:10:38 +0000 (11:10 -0700)]
Misc fixes for throttling.
Cleanup of duplicate code
Caching Ntp data so we don't hit the network as often
Clearing out of MRU data when we switch to a new sim
Sending notification after we reset byte counts
bug:
2605277
bug:
2605272
bug:
2597530
bug:
2576057
Change-Id: I3df526bae6374f6ae56fed67b0defad2b4fabefd
Scott Main [Mon, 19 Apr 2010 19:28:15 +0000 (12:28 -0700)]
Merge "add droiddoc flag to include since-tags for api level 8" into froyo
Brad Fitzpatrick [Mon, 19 Apr 2010 19:17:48 +0000 (12:17 -0700)]
Merge "Reduce lock contention, removing unnecessary synchronization." into froyo
Grace Kloba [Mon, 19 Apr 2010 19:14:41 +0000 (12:14 -0700)]
Merge "Force redraw in touch_up if there is a move." into froyo
Grace Kloba [Mon, 19 Apr 2010 19:14:17 +0000 (12:14 -0700)]
Remove fixed size restriction on the SurfaceView
before setting it to the full screen content view.
Fix http://b/issue?id=
2607352
Scott Main [Mon, 19 Apr 2010 19:00:15 +0000 (12:00 -0700)]
add droiddoc flag to include since-tags for api level 8
Change-Id: Ib7dc5114b075001cdf78db96dbbaa99644836f8b
Brad Fitzpatrick [Mon, 19 Apr 2010 18:58:52 +0000 (11:58 -0700)]
Reduce lock contention, removing unnecessary synchronization.
The value returned is purely a function of what's passed in, all
following final members.
BUG=
2606839
Change-Id: I506fb9b1f3be965576c2b3317a30ff1f990ccda3
Brad Fitzpatrick [Mon, 19 Apr 2010 18:50:53 +0000 (11:50 -0700)]
Merge "Ease contention on the mProcessStatsThread mutex in updateCpuStats." into froyo
Daniel Sandler [Mon, 19 Apr 2010 18:29:05 +0000 (14:29 -0400)]
Make the silent/vibrate status icon reflect overall device state. (DO NOT MERGE)
Previously, this status icon reflected just the incoming
call behavior:
- gone for audible (with or without vibrate),
- wiggling phone for vibrate,
- silent (speaker + X) for no audible ring or vibrate.
Now that silent mode has changed (see VIBRATE_IN_SILENT),
you can easily get into a state where this icon is
confusing by setting the incoming call ringer to *never*
vibrate but setting the overall device silent state to allow
vibration (VIBRATE_IN_SILENT=true). In this case, rocking
the volume all the way down would show a wiggling phone
(because the device is in vibrate-only mode) but the status
bar would show speaker+X (because the incoming call would
neither ring nor vibrate).
Now these two icons are consistent. This means, however,
that if this special condition is set by the user (device
vibrates in silent mode, but incoming calls should never
vibrate) and the device is in silent mode, the status bar
will show a wiggling phone even though incoming calls will
not vibrate the device. This puts the ringer on a more even
footing with other apps on the device, which may elect not
to vibrate even if VIBRATE_IN_SILENT=true overall.
Bug:
2598014
Change-Id: Ib942f68738d77ab0d9b9da4fac718ae5957c133c
Brad Fitzpatrick [Mon, 19 Apr 2010 17:47:40 +0000 (10:47 -0700)]
Ease contention on the mProcessStatsThread mutex in updateCpuStats.
BUG=
2606839
Change-Id: I444af0bb4a7b0be7ebf9ee5887805f2f09a426d0