OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Missed a case to resumeUpdatePicture." into froyo
Grace Kloba [Fri, 16 Apr 2010 23:34:43 +0000 (16:34 -0700)]
Merge "Missed a case to resumeUpdatePicture." into froyo

14 years agoMerge "cherry-pick from master: c096a9aead60717fc106ceb259bf954a578d3c54 (plus other...
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

14 years agoMissed a case to resumeUpdatePicture.
Grace Kloba [Fri, 16 Apr 2010 22:49:36 +0000 (15:49 -0700)]
Missed a case to resumeUpdatePicture.

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

14 years agoMerge "accept close() on database objects even if the database is closed" into froyo
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

14 years agoaccept close() on database objects even if the database is closed
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

14 years agoMerge "Add command line flags to enable lock profiling." into froyo
Carl Shapiro [Fri, 16 Apr 2010 20:25:03 +0000 (13:25 -0700)]
Merge "Add command line flags to enable lock profiling." into froyo

14 years agoretool resize logic to use max dimension and max area.
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

14 years agoMerge "For search suggestions in the search dialog, allow the 'title' line of text...
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

14 years agoAdd command line flags to enable lock profiling.
Carl Shapiro [Mon, 12 Apr 2010 23:31:59 +0000 (16:31 -0700)]
Add command line flags to enable lock profiling.

14 years agoMerge "Add multi-sim support to ThrottleService." into froyo
Robert Greenwalt [Fri, 16 Apr 2010 00:37:55 +0000 (17:37 -0700)]
Merge "Add multi-sim support to ThrottleService." into froyo

14 years agoAdd multi-sim support to ThrottleService.
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

14 years agoMerge "A little more improvement of the Service javadoc." into froyo
Dianne Hackborn [Thu, 15 Apr 2010 20:33:21 +0000 (13:33 -0700)]
Merge "A little more improvement of the Service javadoc." into froyo

14 years agoMerge "Fix SntpClient to give accurate time info." 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

14 years agoFix SntpClient to give accurate time info.
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

14 years agoA little more improvement of the Service javadoc.
Dianne Hackborn [Thu, 15 Apr 2010 18:33:38 +0000 (11:33 -0700)]
A little more improvement of the Service javadoc.

Change-Id: I15fb191a26f2ef86a2bf553177cb2d08905adb1c

14 years agoRemove native binaries when an updated system application is upgraded through OTA.
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

14 years agoFor search suggestions in the search dialog, allow the 'title'
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

14 years agoMerge "Import revised translations" into froyo
Kenny Root [Thu, 15 Apr 2010 12:55:00 +0000 (05:55 -0700)]
Merge "Import revised translations" into froyo

14 years agoMerge "Fix wakelock leak in PowerManagerService.sendNotificationLocked()" into froyo
Mike Lockwood [Thu, 15 Apr 2010 12:45:21 +0000 (05:45 -0700)]
Merge "Fix wakelock leak in PowerManagerService.sendNotificationLocked()" into froyo

14 years agoAPI 8!
Dianne Hackborn [Thu, 15 Apr 2010 05:08:29 +0000 (22:08 -0700)]
API 8!

Change-Id: I30a6a99f63a81900751f2afccf03430ddef82833

14 years agoImport revised translations
Kenny Root [Thu, 15 Apr 2010 03:30:39 +0000 (20:30 -0700)]
Import revised translations

Change-Id: Icdbd0bf88b18870dd3b063126e4559f6af3138a6

14 years agoMerge "Sholes mobile iface comes/goes - handle the reset" into froyo
Robert Greenwalt [Thu, 15 Apr 2010 03:23:45 +0000 (20:23 -0700)]
Merge "Sholes mobile iface comes/goes - handle the reset" into froyo

14 years agoRevert "Add ordered broadcast when removing packages."
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

14 years agoMerge "Fix issue #258640: Automatic propagation of FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESE...
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

14 years agoMerge "Introducing "strict project map"." into froyo
Dmitri Plotnikov [Thu, 15 Apr 2010 01:33:54 +0000 (18:33 -0700)]
Merge "Introducing "strict project map"." into froyo

14 years agoMerge "Dont fall back to installing on sdcard when internal storage is filled up...
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

14 years agoDont fall back to installing on sdcard when internal storage is filled up
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

14 years agoMerge "fix [2594950] Flash: Zooming in on some content crashes the Nexus One and...
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

14 years agoMerge "Add ordered broadcast when removing packages." into froyo
Suchi Amalapurapu [Thu, 15 Apr 2010 01:11:34 +0000 (18:11 -0700)]
Merge "Add ordered broadcast when removing packages." into froyo

14 years agoFix issue #258640: Automatic propagation of FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
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

14 years agoSholes mobile iface comes/goes - handle the reset
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

14 years agoAdd ordered broadcast when removing packages.
Suchi Amalapurapu [Thu, 15 Apr 2010 00:05:48 +0000 (17:05 -0700)]
Add ordered broadcast when removing packages.

Change-Id: I30a84068fa8f2b15564b0a164d339ac95f40e801

14 years agofix [2594950] Flash: Zooming in on some content crashes the Nexus One and causes...
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

14 years agoIntroducing "strict project map".
Dmitri Plotnikov [Wed, 14 Apr 2010 23:09:46 +0000 (16:09 -0700)]
Introducing "strict project map".

Change-Id: I147e10ac6475badf1d21e2c27d1cedbb27bd49df

14 years agoMerge "verify database state before calling sqlite. Bug:2593970" into froyo
Vasu Nori [Wed, 14 Apr 2010 22:53:43 +0000 (15:53 -0700)]
Merge "verify database state before calling sqlite. Bug:2593970" into froyo

14 years agocherry-pick from master: c096a9aead60717fc106ceb259bf954a578d3c54
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

14 years agoMerge "Pass WebKit scrollbar mode to Java. When scrollbar is alwaysOff, don't trigger...
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

14 years agoFix issue 2592680: Saved ringer volume forced to 0 when receiving a call in silent...
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

14 years agoMerge "Fix issue 2589563: Able to set ringer volume to 0 outside of silent mode....
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

14 years agoMerge "Make sure the onended event is dispatched even when the user dismisses the...
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

14 years agoMerge "Fix issue #593153: Broadcast time out when sending..." 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

14 years agoMerge "Use PV_PLAYER to handle RTSP streaming" 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

14 years agoFix issue #593153: Broadcast time out when sending...
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

14 years agoFix issue 2589563: Able to set ringer volume to 0 outside of silent mode.
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

14 years agoMake sure the onended event is dispatched even when
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

14 years agoUpdate the datause icons.
Robert Greenwalt [Tue, 13 Apr 2010 22:17:14 +0000 (15:17 -0700)]
Update the datause icons.

bug:2576057
Change-Id: Idf57d59aecb9bcff635dafa1e77d90a8737a0c08

14 years agoMerge "Perist Throttle data across reboots" into froyo
Robert Greenwalt [Wed, 14 Apr 2010 16:07:25 +0000 (09:07 -0700)]
Merge "Perist Throttle data across reboots" into froyo

14 years agoUse PV_PLAYER to handle RTSP streaming
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

14 years agoMerge "Ensure the selection does not change in setTextAndKeepSelection." into froyo
Leon Scroggins [Wed, 14 Apr 2010 13:42:20 +0000 (06:42 -0700)]
Merge "Ensure the selection does not change in setTextAndKeepSelection." into froyo

14 years agoMerge "Fix for 2585858, load invalid urls." into froyo
Kristian Monsen [Wed, 14 Apr 2010 09:22:18 +0000 (02:22 -0700)]
Merge "Fix for 2585858, load invalid urls." into froyo

14 years agoMerge "Fix (again) for bug 2558156, update cache encoding correctly" 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

14 years agoPass WebKit scrollbar mode to Java. When scrollbar
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

14 years agoMerge "Fix issue #2555171: Switching to app immediately after unmounting..." into...
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

14 years agoFramework change for #2583442: Navigation dies when night mode changes
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

14 years agoMerge "Fix issue #2420340: if FLAG_SHOW_WHEN_LOCKED, do not show keyguard..." into...
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

14 years agoFix issue #2555171: Switching to app immediately after unmounting...
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

14 years agoMerge "If we defer processing the touch events, pass the original view coordinate...
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

14 years agoPerist Throttle data across reboots
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

14 years agoIf we defer processing the touch events, pass the
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

14 years agoAdd build config values for data use defaults
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

14 years agoMerge "Snif more 3GPP file types according to http://www.ftyps.com/3gpp.html" into...
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

14 years agoMerge "Fix crashes related to unmounting when app on sdcard has an active notificatio...
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

14 years agoMerge "Fix Throttle Notification intents" into froyo
Robert Greenwalt [Tue, 13 Apr 2010 22:22:00 +0000 (15:22 -0700)]
Merge "Fix Throttle Notification intents" into froyo

14 years agoSnif more 3GPP file types according to http://www.ftyps.com/3gpp.html
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

14 years agoverify database state before calling sqlite. Bug:2593970
Vasu Nori [Tue, 13 Apr 2010 22:05:09 +0000 (15:05 -0700)]
verify database state before calling sqlite. Bug:2593970

Change-Id: Id68365abccbdca572ad13c2b51162d53993ff540

14 years agoMerge "SDK: last of the backup/restore docs content" into froyo
Christopher Tate [Tue, 13 Apr 2010 21:21:48 +0000 (14:21 -0700)]
Merge "SDK: last of the backup/restore docs content" into froyo

14 years agoFix wakelock leak in PowerManagerService.sendNotificationLocked()
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>
14 years agoMerge "Better diagnostics in the stagefright commandline tool, support for playing...
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

14 years agoMerge "Don't set encoder component role while we query decoders" 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

14 years agoEnsure the selection does not change in setTextAndKeepSelection.
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

14 years agoBetter diagnostics in the stagefright commandline tool, support for playing sine...
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

14 years agoFix a case introduced by https://android-git.corp.google.com/g/#change,47640
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

14 years agoFix crashes related to unmounting when app on sdcard has an active notification
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

14 years agoDon't set encoder component role while we query decoders
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

14 years agoMerge "Fix an upgrade bug in SettingsProvider." into froyo
Amith Yamasani [Tue, 13 Apr 2010 17:05:27 +0000 (10:05 -0700)]
Merge "Fix an upgrade bug in SettingsProvider." into froyo

14 years agoMerge "Fix bug 2578813 Delay pausing music and routing audio for car docks" into...
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

14 years agoFix for 2581725. Keep the last frame after resume(), and delete it
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

14 years agoFix bug 2578813 Delay pausing music and routing audio for car docks
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

14 years agoHonor the "Never vibrate" setting for incoming calls.
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

14 years agoFix for 2585858, load invalid urls.
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

14 years agoMerge "Hide e-call button in layout." into froyo
Daniel Sandler [Tue, 13 Apr 2010 13:00:02 +0000 (06:00 -0700)]
Merge "Hide e-call button in layout." into froyo

14 years agoFix issue #2420340: if FLAG_SHOW_WHEN_LOCKED, do not show keyguard...
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

14 years agoSDK: last of the backup/restore docs content
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

14 years agoMerge "Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since...
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

14 years agoMerge "SDK: more backup/restore documentation work" into froyo
Christopher Tate [Mon, 12 Apr 2010 23:14:53 +0000 (16:14 -0700)]
Merge "SDK: more backup/restore documentation work" into froyo

14 years agoMerge "docs: fix bug 2590728" into froyo
Scott Main [Mon, 12 Apr 2010 23:09:28 +0000 (16:09 -0700)]
Merge "docs: fix bug 2590728" into froyo

14 years agoDistinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don...
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

14 years agodocs: fix bug 2590728
Scott Main [Mon, 12 Apr 2010 23:05:49 +0000 (16:05 -0700)]
docs: fix bug 2590728

Change-Id: I997c4fd3b3fbe33f479c3fe15b8164370c0a18af

14 years agoFix an upgrade bug in SettingsProvider.
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

14 years agoSDK: more backup/restore documentation work
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

14 years agoMerge "API CHANGE: remove obsolete constants and hide some methods" into froyo
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

14 years agoFix Throttle Notification intents
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

14 years agoMerge "Fix a race condition in TimedEventQueue, an event may be cancelled while we...
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

14 years agoAPI CHANGE: remove obsolete constants and hide some methods
Christopher Tate [Fri, 9 Apr 2010 20:05:16 +0000 (13:05 -0700)]
API CHANGE: remove obsolete constants and hide some methods

This change removes some unused constants from BackupDataOutput
and hides a few methods that do not actually need to be exposed.

Change-Id: I47a9a107a5b58f4d53b5a2fcf9b73a765b1c5dd8

14 years agoFix a race condition in TimedEventQueue, an event may be cancelled while we're waitin...
Andreas Huber [Mon, 12 Apr 2010 20:10:20 +0000 (13:10 -0700)]
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.

Change-Id: I4e42e318fd5373d1f352f54027d4bf823126266d
related-to-bug: 2585276

14 years agoMerge "Fix typos in name of density-independent pixels" into froyo
Kenny Root [Mon, 12 Apr 2010 19:19:08 +0000 (12:19 -0700)]
Merge "Fix typos in name of density-independent pixels" into froyo

14 years agoMerge "Fix monkey bug 2586534 java.util.ConcurrentModificationException Unlike the...
Jean-Michel Trivi [Mon, 12 Apr 2010 19:05:08 +0000 (12:05 -0700)]
Merge "Fix monkey bug 2586534 java.util.ConcurrentModificationException Unlike the other audio focus and media button stack handling methods, abandonAudioFocus() and unregisterAudioFocusClient() were not synchronized around their focus stack. This CL corrects this." into froyo

14 years agoAdd a bulk request method for bookmark icons.
Patrick Scott [Fri, 9 Apr 2010 16:42:03 +0000 (12:42 -0400)]
Add a bulk request method for bookmark icons.

Rather than dispatch a message for every url in the db, send a message to the
WebCoreThread to handle the query and iteration.  Update the documentation for
requestAllIcons.

Bug: 2581894
Change-Id: I8af4f87570465dff3839db4ac492883e8805b007

14 years agoMerge "Fix a case where the aac hardware decoder is in a transition state and refused...
Andreas Huber [Mon, 12 Apr 2010 18:02:27 +0000 (11:02 -0700)]
Merge "Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request." into froyo

14 years agoFix a case where the aac hardware decoder is in a transition state and refused a...
Andreas Huber [Mon, 12 Apr 2010 17:20:12 +0000 (10:20 -0700)]
Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request.

Change-Id: I4cabd18709c29db0a2763a01cc86525ba0b0aeb7
related-to-bug: 2575976