OSDN Git Service
Jean-Michel Trivi [Mon, 19 Apr 2010 16:41:19 +0000 (09:41 -0700)]
Merge "Fix bug
2599698 Music paused by itself The NotificationPlayer sets an OnCompletionListener on the MediaPlayer it's using to play the notification. NotificationPlayer relies on the completion event to abandon audio focus. The player was started before the listener was set. The theory about the bug is that the player finished playing before the listener was called. Therefore the audio focus was never abandonned, and the music didn't resume." into froyo
Mike Lockwood [Mon, 19 Apr 2010 15:18:58 +0000 (08:18 -0700)]
Merge "Fix inconsistency in how we handle light sensor when battery is low." into froyo
Robert Greenwalt [Thu, 15 Apr 2010 05:37:12 +0000 (22:37 -0700)]
Make ThrottleService more tamper resistant.
Use elapsed time not wall time for alarms so users can't play with the
system time to get around things.
Also using NTP servers to pull in an authoritative time - if we the build
is configured with an NTP server we will not advance to the next cycle
without it, but we also will not trottle - rather not throttle users
on an error.
Note that the poll alarm is just relative to the last poll time and real
time doesn't matter.
Defining the time-fetching API's as returning time in the system wallclock
range (correcting if we are using NTP time internally).
bug:
2597530
Change-Id: I1c0ac0923314c2f8a04edd0b36c4845352eae99a
Mike Lockwood [Sun, 18 Apr 2010 02:29:20 +0000 (22:29 -0400)]
Fix inconsistency in how we handle light sensor when battery is low.
In lightSensorChangedLocked we ignore the light sensor if the battery is low.
But in applyButtonState() and applyKeyboardState() we were still using the previous
mLightSensorScreenBrightness value, which resulted in a race condition that could
leave the button lights on after the screen turns off.
Now we ignore the light sensor value and button brightness override if the battery
is low so the low battery behavior is consistent.
Change-Id: I4943f8904299883211a95596ee207df69d1eaea2
BUG:
2570962
Signed-off-by: Mike Lockwood <lockwood@android.com>
Irfan Sheriff [Sat, 17 Apr 2010 16:27:25 +0000 (09:27 -0700)]
Merge "Dont check on interface value on API" into froyo
Irfan Sheriff [Fri, 16 Apr 2010 23:53:20 +0000 (16:53 -0700)]
Dont check on interface value on API
The interface check in API could be used
in future.
Bug:
2576057
Change-Id: Icfb78a88be44d1e6a8350c4b65efe70970e658d8
Jean-Michel Trivi [Fri, 16 Apr 2010 23:40:47 +0000 (16:40 -0700)]
Fix bug
2599698 Music paused by itself
The NotificationPlayer sets an OnCompletionListener on the
MediaPlayer it's using to play the notification.
NotificationPlayer relies on the completion event to abandon
audio focus.
The player was started before the listener was set. The theory
about the bug is that the player finished playing before the listener
was called. Therefore the audio focus was never abandonned, and
the music didn't resume.
Change-Id: Ic3baf359ea24de0d832a655dc47e745b25bc3dec
Grace Kloba [Fri, 16 Apr 2010 23:34:43 +0000 (16:34 -0700)]
Merge "Missed a case to resumeUpdatePicture." into froyo
Scott Main [Fri, 16 Apr 2010 23:14:33 +0000 (16:14 -0700)]
Merge "cherry-pick from master:
c096a9aead60717fc106ceb259bf954a578d3c54 (plus other revisions to resolve bug
2595831)" into froyo
Grace Kloba [Fri, 16 Apr 2010 22:49:36 +0000 (15:49 -0700)]
Missed a case to resumeUpdatePicture.
Fix http://b/issue?id=
2603882
Vasu Nori [Fri, 16 Apr 2010 21:48:47 +0000 (14:48 -0700)]
Merge "accept close() on database objects even if the database is closed" into froyo
Vasu Nori [Fri, 16 Apr 2010 21:24:57 +0000 (14:24 -0700)]
accept close() on database objects even if the database is closed
bug:
2602878
Change-Id: I3075f801ef35d72792ff3daaa1e887e53b58f5f8
Carl Shapiro [Fri, 16 Apr 2010 20:25:03 +0000 (13:25 -0700)]
Merge "Add command line flags to enable lock profiling." into froyo
Mike Reed [Fri, 16 Apr 2010 17:16:36 +0000 (13:16 -0400)]
retool resize logic to use max dimension and max area.
Change-Id: I32446b41afe9e7c241868c0cb7b9b7d9056b2d38
http://b/issue?id=
2598253
Mike LeBeau [Fri, 16 Apr 2010 14:23:12 +0000 (07:23 -0700)]
Merge "For search suggestions in the search dialog, allow the 'title' line of text to be up to 2 lines (rather than the usual 1) if no 'description' line is provided." into froyo
Carl Shapiro [Mon, 12 Apr 2010 23:31:59 +0000 (16:31 -0700)]
Add command line flags to enable lock profiling.
Robert Greenwalt [Fri, 16 Apr 2010 00:37:55 +0000 (17:37 -0700)]
Merge "Add multi-sim support to ThrottleService." into froyo
Robert Greenwalt [Thu, 15 Apr 2010 15:27:14 +0000 (08:27 -0700)]
Add multi-sim support to ThrottleService.
Uses the last used data until the SIM is available (if ever). Supports data from
several SIMs for all the world travelers out there.
bug:
2576057
Change-Id: I70e34a51f1c2ccda41a480652b0233b68ff3f538
Dianne Hackborn [Thu, 15 Apr 2010 20:33:21 +0000 (13:33 -0700)]
Merge "A little more improvement of the Service javadoc." into froyo
Robert Greenwalt [Thu, 15 Apr 2010 20:28:43 +0000 (13:28 -0700)]
Merge "Fix SntpClient to give accurate time info." into froyo
Robert Greenwalt [Thu, 15 Apr 2010 19:31:55 +0000 (12:31 -0700)]
Fix SntpClient to give accurate time info.
Old calc was off by 2x and was affected by the user-settable system clock. The error
came because it was calculating the offset between our clock and the NTP clock and the algebra
had two factors of the offset instead of the desired 1.
bug:
2600010
Change-Id: I0856091d32b50e6909e4889fb98df819e0aeabbe
Dianne Hackborn [Thu, 15 Apr 2010 18:33:38 +0000 (11:33 -0700)]
A little more improvement of the Service javadoc.
Change-Id: I15fb191a26f2ef86a2bf553177cb2d08905adb1c
David 'Digit' Turner [Mon, 12 Apr 2010 23:11:15 +0000 (16:11 -0700)]
Remove native binaries when an updated system application is upgraded through OTA.
The point of this patch is to deal with the following case:
- A system application exists in the system partition. As such its
native code lies under /system/lib
- An upgrade for it is installed through Market and overrides the
version on the system partition. This places its native libraries
under /data/data/<pkgname>/lib/
- Finally, the system is upgraded through an OTA, with an even more
recent of the system application. We thus must remove the Market
package as well as the native libraries that are in <dataDir>/lib
since the new versions in /system/lib will be more recent.
The patch itself removes the files in <dataDir>/lib when such a
situation is detected. Note that this directory is created by the
PackageManager service and owned by the 'system' userID. The application
cannot create files there so simply erasing the content of the directory
is enough (and avoids reparsing the market package file to list
the installed binaries).
The patch also fixes a different issue which can be reproduced with:
- have system app installed on /system partition
- install an update (e.g. adb install -r Term.apk)
- uninstall the update (e.g. adb uninstall com.android.term)
the logcat shows that the PackageManager will unpack the native libraries
from the original /system/app/Term.apk into <dataDir>/lib, while they
already are in /system/lib. The patch fixes that too.
Change-Id: I5dfe27b91b6b31972e9cd4c196d15c3692732127
Mike LeBeau [Thu, 15 Apr 2010 15:35:47 +0000 (11:35 -0400)]
For search suggestions in the search dialog, allow the 'title'
line of text to be up to 2 lines (rather than the usual 1) if
no 'description' line is provided.
Change-Id: Ibc60d72868a4ad9630d38ee9b8cfe3f37c736e64
Kenny Root [Thu, 15 Apr 2010 12:55:00 +0000 (05:55 -0700)]
Merge "Import revised translations" into froyo
Mike Lockwood [Thu, 15 Apr 2010 12:45:21 +0000 (05:45 -0700)]
Merge "Fix wakelock leak in PowerManagerService.sendNotificationLocked()" into froyo
Dianne Hackborn [Thu, 15 Apr 2010 05:08:29 +0000 (22:08 -0700)]
API 8!
Change-Id: I30a6a99f63a81900751f2afccf03430ddef82833
Kenny Root [Thu, 15 Apr 2010 03:30:39 +0000 (20:30 -0700)]
Import revised translations
Change-Id: Icdbd0bf88b18870dd3b063126e4559f6af3138a6
Robert Greenwalt [Thu, 15 Apr 2010 03:23:45 +0000 (20:23 -0700)]
Merge "Sholes mobile iface comes/goes - handle the reset" into froyo
Suchi Amalapurapu [Thu, 15 Apr 2010 02:17:14 +0000 (19:17 -0700)]
Revert "Add ordered broadcast when removing packages."
Couple of cosmetic fixes as well.
This reverts commit
0c1285fa979e8b8c170f31d0ef1b4e5d9ddcf6b1.
Conflicts:
services/java/com/android/server/PackageManagerService.java
Change-Id: Ife0f9f80525f4a41b1f8c12ffc2de62e061e7d5b
Dianne Hackborn [Thu, 15 Apr 2010 02:02:00 +0000 (19:02 -0700)]
Merge "Fix issue #258640: Automatic propagation of FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET" into froyo
Dmitri Plotnikov [Thu, 15 Apr 2010 01:33:54 +0000 (18:33 -0700)]
Merge "Introducing "strict project map"." into froyo
Suchi Amalapurapu [Thu, 15 Apr 2010 01:28:22 +0000 (18:28 -0700)]
Merge "Dont fall back to installing on sdcard when internal storage is filled up when the install location is set to internal only. Similary if install location is set to external only(via adb), dont fall back to installing on internal storage if sdcard is filled up. If nothing is specified ie install location is set to let system decide, we just check on internal storage. Fix tests" into froyo
Suchi Amalapurapu [Tue, 13 Apr 2010 21:32:16 +0000 (14:32 -0700)]
Dont fall back to installing on sdcard when internal storage is filled up
when the install location is set to internal only. Similary if install
location is set to external only(via adb), dont fall back to installing on
internal storage if sdcard is filled up.
If nothing is specified ie install location is set to let system decide,
we just check on internal storage.
Fix tests
Change-Id: I7400ccc131782d9c45284bd9ebd0dee43a3b412b
Mathias Agopian [Thu, 15 Apr 2010 01:18:44 +0000 (18:18 -0700)]
Merge "fix [
2594950] Flash: Zooming in on some content crashes the Nexus One and causes it to reboot (runtime restart)" into froyo
Suchi Amalapurapu [Thu, 15 Apr 2010 01:11:34 +0000 (18:11 -0700)]
Merge "Add ordered broadcast when removing packages." into froyo
Dianne Hackborn [Thu, 15 Apr 2010 01:01:43 +0000 (18:01 -0700)]
Fix issue #258640: Automatic propagation of FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
Make sure, if an activity is started with clear task when reset, if that
activity is finished in the middle of a stack that the behavior is retained
by propagating it to the next activity.
Change-Id: Ie31b8f968558b0e64e0ef7efa55950a722c6afa5
Robert Greenwalt [Thu, 15 Apr 2010 00:31:20 +0000 (17:31 -0700)]
Sholes mobile iface comes/goes - handle the reset
The byte counter for the iface goes to zero when it comes back. Catch that and
do the complex math to correct.
Also add a log entry telling us our desired throttle index.
Lastly, reset the sec/msec part of our reset time so that one calc will == another and not
be off by little bits.
bug:
25494925
Change-Id: I99525b72a76316a8e601ceb457ca202fae040bae
Suchi Amalapurapu [Thu, 15 Apr 2010 00:05:48 +0000 (17:05 -0700)]
Add ordered broadcast when removing packages.
Change-Id: I30a84068fa8f2b15564b0a164d339ac95f40e801
Mathias Agopian [Wed, 14 Apr 2010 23:43:44 +0000 (16:43 -0700)]
fix [
2594950] Flash: Zooming in on some content crashes the Nexus One and causes it to reboot (runtime restart)
We now limit the size of the surface to the maximum size supported by the GPU.
On Nexus One this will 2048 -- it could be different on other devices.
Surface creation fails if the limit is exceeded.
Change-Id: I9ecfc2e9c58c9e283782b61ebfc6b590f71df785
Dmitri Plotnikov [Wed, 14 Apr 2010 23:09:46 +0000 (16:09 -0700)]
Introducing "strict project map".
Change-Id: I147e10ac6475badf1d21e2c27d1cedbb27bd49df
Vasu Nori [Wed, 14 Apr 2010 22:53:43 +0000 (15:53 -0700)]
Merge "verify database state before calling sqlite. Bug:
2593970" into froyo
Tom O'Neill [Wed, 14 Apr 2010 16:36:37 +0000 (09:36 -0700)]
cherry-pick from master:
c096a9aead60717fc106ceb259bf954a578d3c54
(plus other revisions to resolve bug
2595831)
Minor fixes in hello-tabwidget.jd
Fix some typos, including a few that lead to non-functioning code.
Change-Id: I0057ec7d54836b38d2c7f7b12617327d911f0915
Grace Kloba [Wed, 14 Apr 2010 19:44:05 +0000 (12:44 -0700)]
Merge "Pass WebKit scrollbar mode to Java. When scrollbar is alwaysOff, don't trigger scroll." into froyo
Eric Laurent [Tue, 13 Apr 2010 17:38:05 +0000 (10:38 -0700)]
Fix issue
2592680: Saved ringer volume forced to 0 when receiving a call in silent mode.
This is a regression introduced by change
5b4e654d0c7de8e4d58d73e73b0d5220f19b68f7 for issue
2472495.
When AudioService changes audio mode, setMode() reapplies current volume for the default active stream
which in this case is STREAM_RING.
Because the new implementation of silent mode actually mutes the ringer stream,
setStreamVolumeInt() now applies the volume change received while in silent mode
to the last audible value and we end up clearing the last audible volume for ringer.
The fix consists in not modifying last audible value when the new value is 0.
Also removed obsolete code in setStreamVolumeInt() since new implementation of setRingerModeInt()
in change
5b4e654d0c7de8e4d58d73e73b0d5220f19b68f7.
Change-Id: I746f3bc1af39a602ce12d130ce592007b2d0ebb6
Eric Laurent [Wed, 14 Apr 2010 17:39:32 +0000 (10:39 -0700)]
Merge "Fix issue
2589563: Able to set ringer volume to 0 outside of silent mode." into froyo
Andrei Popescu [Wed, 14 Apr 2010 17:26:58 +0000 (10:26 -0700)]
Merge "Make sure the onended event is dispatched even when the user dismisses the video before it plays to completion." into froyo
Dianne Hackborn [Wed, 14 Apr 2010 17:16:35 +0000 (10:16 -0700)]
Merge "Fix issue #593153: Broadcast time out when sending..." into froyo
James Dong [Wed, 14 Apr 2010 16:59:33 +0000 (09:59 -0700)]
Merge "Use PV_PLAYER to handle RTSP streaming" into froyo
Dianne Hackborn [Wed, 14 Apr 2010 05:57:49 +0000 (22:57 -0700)]
Fix issue #593153: Broadcast time out when sending...
...ordered broadcast for ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE
Turns out this was because the broadcast receiver for ContextImpl was
not correctly being created, so when it received an ordered broadcast
it would not tell the activity manager when it was done.
This is now fixed, along with a ton of superficial changes to debug
output to help track this down and a little cleanup of dealing with
error cases in dispatching broadcasts. Also a fix for a NPE when
dumping the broadcast state.
Finally, a little fiddling with package manager to get rid of a lot
of the noise when removing and re-adding packages on the SD card.
Change-Id: I961c14836dc613d3ea8122b6e910ef866e7fcb25
Eric Laurent [Tue, 13 Apr 2010 15:31:02 +0000 (08:31 -0700)]
Fix issue
2589563: Able to set ringer volume to 0 outside of silent mode.
The problem happens only if volume down key is pressed while
already in silent or vibrate mode. In this case, AudioService accepts
changing the last audible index for ringer volume from 1 to 0.
When volume up is pressed, current ringer volume value is restored from 0
instead of 1.
The fix consists in keeping last audible index at 1 once in silent of vibrate
mode even is volume down key is pressed.
Change-Id: Id08edd12ce985c22233124545eba2c3e4b8cdc8e
Andrei Popescu [Wed, 14 Apr 2010 12:30:23 +0000 (13:30 +0100)]
Make sure the onended event is dispatched even when
the user dismisses the video before it plays to completion.
Fix bug:
2533272
Change-Id: I73f216f4f416f5fdca0bbba2244b88666f8f6eac
Robert Greenwalt [Tue, 13 Apr 2010 22:17:14 +0000 (15:17 -0700)]
Update the datause icons.
bug:
2576057
Change-Id: Idf57d59aecb9bcff635dafa1e77d90a8737a0c08
Robert Greenwalt [Wed, 14 Apr 2010 16:07:25 +0000 (09:07 -0700)]
Merge "Perist Throttle data across reboots" into froyo
James Dong [Wed, 14 Apr 2010 04:33:26 +0000 (21:33 -0700)]
Use PV_PLAYER to handle RTSP streaming
bug -
2594865
Change-Id: Ice5b89b1d53bbc4da033892fe545bdf51ac7267f
Leon Scroggins [Wed, 14 Apr 2010 13:42:20 +0000 (06:42 -0700)]
Merge "Ensure the selection does not change in setTextAndKeepSelection." into froyo
Kristian Monsen [Wed, 14 Apr 2010 09:22:18 +0000 (02:22 -0700)]
Merge "Fix for
2585858, load invalid urls." into froyo
Kristian Monsen [Wed, 14 Apr 2010 09:22:05 +0000 (02:22 -0700)]
Merge "Fix (again) for bug
2558156, update cache encoding correctly" into froyo
Grace Kloba [Wed, 14 Apr 2010 05:58:51 +0000 (22:58 -0700)]
Pass WebKit scrollbar mode to Java. When scrollbar
is alwaysOff, don't trigger scroll.
If there is no horizontal and vertical scrollbar,
don't trigger the zoom control neither.
Fix http://b/issue?id=
2512549
Dianne Hackborn [Wed, 14 Apr 2010 01:07:27 +0000 (18:07 -0700)]
Merge "Fix issue #
2555171: Switching to app immediately after unmounting..." into froyo
Dianne Hackborn [Tue, 13 Apr 2010 06:11:38 +0000 (23:11 -0700)]
Framework change for #
2583442: Navigation dies when night mode changes
The window manager doesn't retain its keep screen on lock while
in the process of destroying and creating new activity windows during
a config change. Now it does.
Unfortunately, this doesn't help maps, since it doesn't use our
lovely KEEP_SCREEN_ON flag. :p
Change-Id: Ida4bc0fcfe132cdff2bd4eeb7ba0ce9731504d14
Dianne Hackborn [Wed, 14 Apr 2010 00:57:23 +0000 (17:57 -0700)]
Merge "Fix issue #
2420340: if FLAG_SHOW_WHEN_LOCKED, do not show keyguard..." into froyo
Dianne Hackborn [Tue, 13 Apr 2010 19:49:14 +0000 (12:49 -0700)]
Fix issue #
2555171: Switching to app immediately after unmounting...
...SD card causes reboot.
Add option to not include temporarily unavailable recent tasks,
for the recent tasks UI to not display them.
Change-Id: I1495ca217b4292fd56f537459b44c0624262c292
Grace Kloba [Wed, 14 Apr 2010 00:20:29 +0000 (17:20 -0700)]
Merge "If we defer processing the touch events, pass the original view coordinate with TouchEventData and use them when we reprocess the events. We can't depend on contentToView() to convert the doc point to the view point. When we originally convert the view to doc, the scroll position in UI doesn't change. When we convert the doc back to view, we are chasing a moving target. That is why we saw bigger delta." into froyo
Robert Greenwalt [Sat, 10 Apr 2010 00:27:26 +0000 (17:27 -0700)]
Perist Throttle data across reboots
Never got SharedPreferences working for this system service. Didn't really need it anyway.
Using a straight up file now.
bug:
2576057
Change-Id: Idad926e8242a85e22718c25f3f6c03e5749badac
Grace Kloba [Tue, 13 Apr 2010 23:27:41 +0000 (16:27 -0700)]
If we defer processing the touch events, pass the
original view coordinate with TouchEventData and use
them when we reprocess the events. We can't depend
on contentToView() to convert the doc point to the
view point. When we originally convert the view to
doc, the scroll position in UI doesn't change. When
we convert the doc back to view, we are chasing a
moving target. That is why we saw bigger delta.
Fix http://b/issue?id=
2577274
Robert Greenwalt [Tue, 13 Apr 2010 02:20:55 +0000 (19:20 -0700)]
Add build config values for data use defaults
Don't use hard coded defaults - use build configs instead.
Iface is now ONLY set by config so gservices doesn't need to.
bug:
2576057
Change-Id: I8f9e3bc51af3b1cdf8bb4290a43197d9c01e2a14
James Dong [Tue, 13 Apr 2010 22:34:20 +0000 (15:34 -0700)]
Merge "Snif more 3GPP file types according to ftyps.com/3gpp.html" into froyo
Suchi Amalapurapu [Tue, 13 Apr 2010 22:30:07 +0000 (15:30 -0700)]
Merge "Fix crashes related to unmounting when app on sdcard has an active notification in status bar. When unmounting sdcard, all the secure containers have to be unmounted first before invoking the MountService call back. We send a broadcast about disabled packages. Force a gc to clean up any stale asset references and then unmount the containers before invoking the MountService call back." into froyo
Robert Greenwalt [Tue, 13 Apr 2010 22:22:00 +0000 (15:22 -0700)]
Merge "Fix Throttle Notification intents" into froyo
James Dong [Tue, 13 Apr 2010 22:06:41 +0000 (15:06 -0700)]
Snif more 3GPP file types according to ftyps.com/3gpp.html
bug -
2575956
Change-Id: Iaa79e74d3b0585397a7e833ec45472710fc52fa6
Vasu Nori [Tue, 13 Apr 2010 22:05:09 +0000 (15:05 -0700)]
verify database state before calling sqlite. Bug:
2593970
Change-Id: Id68365abccbdca572ad13c2b51162d53993ff540
Christopher Tate [Tue, 13 Apr 2010 21:21:48 +0000 (14:21 -0700)]
Merge "SDK: last of the backup/restore docs content" into froyo
Mike Lockwood [Tue, 13 Apr 2010 19:40:27 +0000 (15:40 -0400)]
Fix wakelock leak in PowerManagerService.sendNotificationLocked()
Change-Id: Ia5f814fe81413dc5350faaf4c79cff47de62d0ed
BUG:
2592894
Signed-off-by: Mike Lockwood <lockwood@android.com>
Andreas Huber [Tue, 13 Apr 2010 19:16:08 +0000 (12:16 -0700)]
Merge "Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a"." into froyo
James Dong [Tue, 13 Apr 2010 19:11:57 +0000 (12:11 -0700)]
Merge "Don't set encoder component role while we query decoders" into froyo
Leon Scroggins [Tue, 13 Apr 2010 14:33:41 +0000 (10:33 -0400)]
Ensure the selection does not change in setTextAndKeepSelection.
Bug:
2589778
Change-Id: I72752797003216fdd12cebffbdf4cd9ffbf523e1
Andreas Huber [Tue, 13 Apr 2010 16:58:39 +0000 (09:58 -0700)]
Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a".
related-to-bug:
2553359
Change-Id: Ic49eb89feb62474d9513bc21571e0e8fe3a15e0b
Grace Kloba [Tue, 13 Apr 2010 18:31:15 +0000 (11:31 -0700)]
Fix a case introduced by https://android-git.corp.google.com/g/#change,47640
We skipped a call to WebKit at the end of the zoom
animation in the last CL.
Fix http://b/issue?id=
2578820
Suchi Amalapurapu [Thu, 8 Apr 2010 21:37:05 +0000 (14:37 -0700)]
Fix crashes related to unmounting when app on sdcard has an active notification
in status bar.
When unmounting sdcard, all the secure containers have to be unmounted first
before invoking the MountService call back. We send a broadcast
about disabled packages. Force a gc to clean up any stale asset references
and then unmount the containers before invoking the MountService call back.
Change-Id: I831da1ae54aeec89de3601b94a4a2fae5dc7e495
James Dong [Tue, 13 Apr 2010 17:56:59 +0000 (10:56 -0700)]
Don't set encoder component role while we query decoders
bug -
2558515
Change-Id: I29683507d234d963994c782c07508034ea807739
Amith Yamasani [Tue, 13 Apr 2010 17:05:27 +0000 (10:05 -0700)]
Merge "Fix an upgrade bug in SettingsProvider." into froyo
Jean-Michel Trivi [Tue, 13 Apr 2010 16:53:35 +0000 (09:53 -0700)]
Merge "Fix bug
2578813 Delay pausing music and routing audio for car docks" into froyo
Gloria Wang [Tue, 13 Apr 2010 00:13:06 +0000 (17:13 -0700)]
Fix for
2581725. Keep the last frame after resume(), and delete it
in the next suspend() or reuse it if no new frame is available.
Change-Id: I84286030eaae9061077d6ccb485b7dd53ef05341
Jean-Michel Trivi [Tue, 13 Apr 2010 01:44:10 +0000 (18:44 -0700)]
Fix bug
2578813 Delay pausing music and routing audio for car docks
Moved broadcast of ACTION_AUDIO_BECOMING_NOISY from BluetoothA2dpService
to AudioService.
Broadcast ACTION_AUDIO_BECOMING_NOISY when disconnecting an A2DP
device.
Disconnect from A2DP docks with a delay to handle transient
disconnections.
Cancel delayed A2DP disconnections when connecting to a dock as this
can be a reconnection after a transient disconnection.
Change-Id: I1ee9e99f3ffa20727af38a4c4c8711942894a696
Daniel Sandler [Mon, 12 Apr 2010 17:23:57 +0000 (13:23 -0400)]
Honor the "Never vibrate" setting for incoming calls.
Bug:
2579295
Change-Id: Ia4207492c5dfa2c39d27372c4892b60121b6d9e8
Kristian Monsen [Mon, 12 Apr 2010 15:42:39 +0000 (16:42 +0100)]
Fix for
2585858, load invalid urls.
The browser currently does not try to load invalid urls, that can be a problem. Now we only check if the host is correctly encoded.
Change-Id: Ie7380c59d4faab68a2f957e7f1ba8347e15e45a1
Daniel Sandler [Tue, 13 Apr 2010 13:00:02 +0000 (06:00 -0700)]
Merge "Hide e-call button in layout." into froyo
Dianne Hackborn [Tue, 13 Apr 2010 04:36:49 +0000 (21:36 -0700)]
Fix issue #
2420340: if FLAG_SHOW_WHEN_LOCKED, do not show keyguard...
...go directly to unlock screen
Fix a problem where, when we are moving windows due to a configuration
change, our wait to have the windows get redrawn would also
inadvertently make us think their surfaces should be hidden, leading
to nasty things like the lock screen thinking it should be shown
again (and thus forcing the orientation back to portrait).
Change-Id: I79057cfbc93ff59fd3558da997d4f73796e6aabe
Christopher Tate [Tue, 13 Apr 2010 01:24:05 +0000 (18:24 -0700)]
SDK: last of the backup/restore docs content
There is probably still some editing and cleanup to do, but this takes care
of the last of the "need this documented by the time we ship!" material.
Bug #
2465360
Change-Id: Ic4ce9e5a07c79aa2b584a18012a2e8fe199c19fd
Andreas Huber [Tue, 13 Apr 2010 00:15:32 +0000 (17:15 -0700)]
Merge "Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks." into froyo
Christopher Tate [Mon, 12 Apr 2010 23:14:53 +0000 (16:14 -0700)]
Merge "SDK: more backup/restore documentation work" into froyo
Scott Main [Mon, 12 Apr 2010 23:09:28 +0000 (16:09 -0700)]
Merge "docs: fix bug
2590728" into froyo
Andreas Huber [Mon, 12 Apr 2010 23:05:57 +0000 (16:05 -0700)]
Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks.
Change-Id: Ic9a9198413431db4ea40bb63b9de91aa8a7183af
related-to-bug:
2587341
Scott Main [Mon, 12 Apr 2010 23:05:49 +0000 (16:05 -0700)]
docs: fix bug
2590728
Change-Id: I997c4fd3b3fbe33f479c3fe15b8164370c0a18af
Amith Yamasani [Mon, 12 Apr 2010 22:49:12 +0000 (15:49 -0700)]
Fix an upgrade bug in SettingsProvider.
Bug:
2569112
Wrong usage of local method.
Change-Id: I9d7c68baa7cf8dd2b7e4345555c1edc374de94e6
Christopher Tate [Thu, 8 Apr 2010 19:54:23 +0000 (12:54 -0700)]
SDK: more backup/restore documentation work
Still not complete, but here's a lot more of the necessary documentation.
Submitting a checkpoint seems prudent.
Bug #
2465360
Change-Id: Ifff60d57e4b24cee21f3a34f5f50e290d377c386
Christopher Tate [Mon, 12 Apr 2010 22:13:35 +0000 (15:13 -0700)]
Merge "API CHANGE: remove obsolete constants and hide some methods" into froyo
Robert Greenwalt [Mon, 12 Apr 2010 21:56:31 +0000 (14:56 -0700)]
Fix Throttle Notification intents
Now goes to the correct settings page.
bug:
2576057
Change-Id: I21df0e53f7f56ae9bf71f983a3aed200c5ac217d
Andreas Huber [Mon, 12 Apr 2010 21:16:34 +0000 (14:16 -0700)]
Merge "Fix a race condition in TimedEventQueue, an event may be cancelled while we're waiting for its scheduled time to come in which case we'd be removing it from the queue twice." into froyo