OSDN Git Service

android-x86/frameworks-base.git
15 years agoMerge change 21860 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 23:30:31 +0000 (16:30 -0700)]
Merge change 21860 into eclair

* changes:
  Return ICC Card ABSENT instead of NOT_READY when it is not present.

15 years agoMerge change 21985 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 22:30:38 +0000 (15:30 -0700)]
Merge change 21985 into eclair

* changes:
  Fix AudioService on HFP power off due to new Bluetooth API.

15 years agoFix AudioService on HFP power off due to new Bluetooth API.
Nick Pelly [Wed, 19 Aug 2009 21:49:29 +0000 (14:49 -0700)]
Fix AudioService on HFP power off due to new Bluetooth API.

HEADSET_STATE_CHANGED_ACTION contains a null BluetoothDevice when the HFP
disconnects.

15 years agoFix for bug206007, power dialog change "Why?" to "Battery use"
Roy West [Wed, 19 Aug 2009 22:18:29 +0000 (15:18 -0700)]
Fix for bug206007, power dialog change "Why?" to "Battery use"

15 years agoMerge change 21967 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 21:33:56 +0000 (14:33 -0700)]
Merge change 21967 into eclair

* changes:
  Remove SOURCE_VISIBLE flag that is otherwise unused.

15 years agoMerge change 21949 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 21:32:18 +0000 (14:32 -0700)]
Merge change 21949 into eclair

* changes:
  Better (proper) parsing of the AVCDecoderConfigurationRecord, respect hardware decoder profile/level limits.

15 years agoRemove SOURCE_VISIBLE flag that is otherwise unused.
Jeff Sharkey [Wed, 19 Aug 2009 21:25:24 +0000 (14:25 -0700)]
Remove SOURCE_VISIBLE flag that is otherwise unused.

15 years agoMerge change 21888 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 20:57:22 +0000 (13:57 -0700)]
Merge change 21888 into eclair

* changes:
  Do not enable the rew/pause/ffwd buttons when the media being played does not support these functions. This extends the MediaPlayerControl interface with some new methods, and uses reflection to detect whether the old or new interface is used by an application.

15 years agoMerge change 21948 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 20:54:01 +0000 (13:54 -0700)]
Merge change 21948 into eclair

* changes:
  The PV AVC software decoder expects each fragment of a NAL unit to be handed to the decoder unframed.

15 years agoBetter (proper) parsing of the AVCDecoderConfigurationRecord, respect hardware decode...
Andreas Huber [Wed, 19 Aug 2009 20:32:58 +0000 (13:32 -0700)]
Better (proper) parsing of the AVCDecoderConfigurationRecord, respect hardware decoder profile/level limits.

15 years agoDo not enable the rew/pause/ffwd buttons when the media being played does not
Marco Nelissen [Wed, 19 Aug 2009 15:32:21 +0000 (08:32 -0700)]
Do not enable the rew/pause/ffwd buttons when the media being played does not
support these functions.
This extends the MediaPlayerControl interface with some new methods, and uses
reflection to detect whether the old or new interface is used by an application.

15 years agoMerge change 21862 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 19:21:02 +0000 (12:21 -0700)]
Merge change 21862 into eclair

* changes:
  Fix issue #2010965: Increase process size on WVGA devices

15 years agoMerge change 21927 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 19:18:28 +0000 (12:18 -0700)]
Merge change 21927 into eclair

* changes:
  Improved RS timing code to monitor where we spend CPU time.

15 years agoImproved RS timing code to monitor where we spend CPU time.
Jason Sams [Wed, 19 Aug 2009 19:17:14 +0000 (12:17 -0700)]
Improved RS timing code to monitor where we spend CPU time.

15 years agoMerge change 21926 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 19:10:33 +0000 (12:10 -0700)]
Merge change 21926 into eclair

* changes:
  Move the sky

15 years agoMove the sky
Romain Guy [Wed, 19 Aug 2009 19:10:03 +0000 (12:10 -0700)]
Move the sky

15 years agoMerge change 21919 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 18:54:48 +0000 (11:54 -0700)]
Merge change 21919 into eclair

* changes:
  Fix exception when reporting disconn cdma state.

15 years agoMerge change 21901 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 18:50:17 +0000 (11:50 -0700)]
Merge change 21901 into eclair

* changes:
  Check for a timeout <= 0 before adding the vibration.

15 years agoRedefining phone lookup API.
Dmitri Plotnikov [Wed, 19 Aug 2009 18:26:57 +0000 (11:26 -0700)]
Redefining phone lookup API.

15 years agoFix exception when reporting disconn cdma state.
Robert Greenwalt [Wed, 19 Aug 2009 18:18:53 +0000 (11:18 -0700)]
Fix exception when reporting disconn cdma state.

Array out of bounds when checking first element of a 0-length array.

15 years agoFix issue #2010965: Increase process size on WVGA devices
Dianne Hackborn [Wed, 19 Aug 2009 02:15:36 +0000 (19:15 -0700)]
Fix issue #2010965: Increase process size on WVGA devices

This introduces a new system property to set the max vm size.  The default
is still 16mb.

15 years agoCheck for a timeout <= 0 before adding the vibration.
Patrick Scott [Wed, 19 Aug 2009 13:03:56 +0000 (09:03 -0400)]
Check for a timeout <= 0 before adding the vibration.

A timeout of 0 could cause the vibration thread to run with a null pattern and
crash the system server. Instead, we should just ignore vibrations that don't
make any sense (similar to ignoring a bad pattern vibration).

15 years agoThe PV AVC software decoder expects each fragment of a NAL unit to be handed to the...
Andreas Huber [Wed, 19 Aug 2009 16:29:34 +0000 (09:29 -0700)]
The PV AVC software decoder expects each fragment of a NAL unit to be handed to the decoder unframed.

15 years agoUse remote Context when inflating initialLayout, add debug.
Jeff Sharkey [Wed, 19 Aug 2009 16:31:51 +0000 (09:31 -0700)]
Use remote Context when inflating initialLayout, add debug.

To help track down http://b/2055197 this change adds back
exception logging when inflating initialLayout.  On a hunch,
it also assigns the remote Context so generateLayoutParams()
can inflate correctly.

15 years agoFlag to make all contacts from specific source visible.
Jeff Sharkey [Wed, 19 Aug 2009 16:23:33 +0000 (09:23 -0700)]
Flag to make all contacts from specific source visible.

15 years agoMerge change 21659 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 14:19:06 +0000 (07:19 -0700)]
Merge change 21659 into eclair

* changes:
  Fix for Mms without wifi.

15 years agoMerge change 21841 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 03:17:57 +0000 (20:17 -0700)]
Merge change 21841 into eclair

* changes:
  clean up some logs and clamp the syncable value

15 years agoMerge change 21589 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 03:16:46 +0000 (20:16 -0700)]
Merge change 21589 into eclair

* changes:
  Fix bug 2056252: android.test.AndroidTestRunnerTest:testRunTestWithNullListener is failing - Verify mInstrumentation is not null before calling getContext()

15 years agoReturn ICC Card ABSENT instead of NOT_READY when it is not present.
Jaikumar Ganesh [Wed, 19 Aug 2009 02:00:43 +0000 (19:00 -0700)]
Return ICC Card ABSENT instead of NOT_READY when it is not present.

15 years agoMerge change 21846 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 01:41:13 +0000 (18:41 -0700)]
Merge change 21846 into eclair

* changes:
  Don't call onSurfaceChanged() if nothing interesting has changed.

15 years agoDon't call onSurfaceChanged() if nothing interesting has changed.
Dianne Hackborn [Wed, 19 Aug 2009 01:29:09 +0000 (18:29 -0700)]
Don't call onSurfaceChanged() if nothing interesting has changed.

15 years agoMerge change 21847 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 01:39:07 +0000 (18:39 -0700)]
Merge change 21847 into eclair

* changes:
  Tweak the water and its texture

15 years agoTweak the water and its texture
Romain Guy [Wed, 19 Aug 2009 01:38:38 +0000 (18:38 -0700)]
Tweak the water and its texture

15 years agoBring back per-Account Contact-specific settings.
Jeff Sharkey [Mon, 17 Aug 2009 08:59:54 +0000 (01:59 -0700)]
Bring back per-Account Contact-specific settings.

These are used for two purposes: a flag indicating the
default sync state for Groups to inherit, and a flag that
marks when Contacts that don't belong to any specific group
should be visible in UI.

15 years agoclean up some logs and clamp the syncable value
Fred Quintana [Wed, 19 Aug 2009 01:07:30 +0000 (18:07 -0700)]
clean up some logs and clamp the syncable value

15 years agoMerge change 21837 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 00:41:22 +0000 (17:41 -0700)]
Merge change 21837 into eclair

* changes:
  Fix possible NPE on touch mode change in TabHost.

15 years agoFix for Mms without wifi.
Robert Greenwalt [Tue, 18 Aug 2009 02:27:14 +0000 (19:27 -0700)]
Fix for Mms without wifi.

Need to change MOBILE_MMS network into connnected state if the current
apn can already support the traffic.

Bug:2058212
Bug:2055065
Bug:2046882

15 years agoFix possible NPE on touch mode change in TabHost.
Romain Guy [Wed, 19 Aug 2009 00:38:14 +0000 (17:38 -0700)]
Fix possible NPE on touch mode change in TabHost.

15 years agoam d50066f8: invoke sendMessage instead of dispatchMessage to avoid deadlocks in...
Suchi Amalapurapu [Wed, 19 Aug 2009 00:31:54 +0000 (17:31 -0700)]
am d50066f8: invoke sendMessage instead of dispatchMessage to avoid deadlocks in ActivityManagerService

Merge commit 'd50066f8d2ab82c2c8ff305c86cc9b39eaca3c28' into eclair

* commit 'd50066f8d2ab82c2c8ff305c86cc9b39eaca3c28':
  invoke sendMessage instead of dispatchMessage to avoid deadlocks in ActivityManagerService

15 years agoMerge change 21831 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 00:22:02 +0000 (17:22 -0700)]
Merge change 21831 into eclair

* changes:
  Add reflections to the water

15 years agoAdd reflections to the water
Romain Guy [Wed, 19 Aug 2009 00:21:07 +0000 (17:21 -0700)]
Add reflections to the water

15 years agoMerge change 21825 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 00:15:04 +0000 (17:15 -0700)]
Merge change 21825 into eclair

* changes:
  Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.

15 years agoImplement OOB destroy method that can be called from the java finalizer removing...
Jason Sams [Wed, 19 Aug 2009 00:07:09 +0000 (17:07 -0700)]
Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.

15 years agoinvoke sendMessage instead of dispatchMessage to avoid deadlocks in ActivityManagerSe...
Suchi Amalapurapu [Tue, 18 Aug 2009 23:57:41 +0000 (16:57 -0700)]
invoke sendMessage instead of dispatchMessage to avoid deadlocks in ActivityManagerService

15 years agoMerge change 21764 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 23:57:02 +0000 (16:57 -0700)]
Merge change 21764 into eclair

* changes:
  Add aapt extensions to dump badging to print more info about activities, receivers and services Fix issue with checking end tags. Earlier some boolean variables were being set once a new tag is detected at the same level which causes some incorrect values to be overwritten. we should be doing this when we detect the end tag.

15 years agoMerge change 21811 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 23:54:59 +0000 (16:54 -0700)]
Merge change 21811 into eclair

* changes:
  More wallpaper fixes: scroll position, visibility, leaking.

15 years agoAdd aapt extensions to dump badging to print more info about activities, receivers...
Suchi Amalapurapu [Tue, 18 Aug 2009 08:42:27 +0000 (01:42 -0700)]
Add aapt extensions to dump badging to print more info about activities, receivers and services
Fix issue with checking end tags. Earlier some boolean variables were being set once a new
tag is detected at the same level which causes some incorrect values to be overwritten.
we should be doing this when we detect the end tag.

15 years agoMore wallpaper fixes: scroll position, visibility, leaking.
Dianne Hackborn [Tue, 18 Aug 2009 22:08:22 +0000 (15:08 -0700)]
More wallpaper fixes: scroll position, visibility, leaking.

This fixes a bunch of edge cases in updating the wallpaper's scroll position
and visibility when switching between wallpapers and traveling through the UI.

It also fixes some leaks of wallpaper tokens and windows.

15 years agoMerge change 21776 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 22:51:36 +0000 (15:51 -0700)]
Merge change 21776 into eclair

* changes:
  Cleanup of object destruction.  No need to have a per-class destruction function.  This was a legacy of the distant past when the classes did not have a common base.

15 years agoMerge change 21790 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 22:41:14 +0000 (15:41 -0700)]
Merge change 21790 into eclair

* changes:
  Dormant ICON was not being displayed, fixes bug 2039239.

15 years agoFix build.
Dianne Hackborn [Tue, 18 Aug 2009 22:09:23 +0000 (15:09 -0700)]
Fix build.

15 years agoCleanup of object destruction. No need to have a per-class destruction function...
Jason Sams [Tue, 18 Aug 2009 21:14:24 +0000 (14:14 -0700)]
Cleanup of object destruction.  No need to have a per-class destruction function.  This was a legacy of the distant past when the classes did not have a common base.

15 years agoMerge change 21770 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 21:15:38 +0000 (14:15 -0700)]
Merge change 21770 into eclair

* changes:
  Fix issue #2047139: Remove Service.setForeground()

15 years agoFix issue #2047139: Remove Service.setForeground()
Dianne Hackborn [Tue, 18 Aug 2009 06:33:56 +0000 (23:33 -0700)]
Fix issue #2047139: Remove Service.setForeground()

This API is becoming seriously abused, so now it is deprecated and has
become a no-op.

As an alternative, there is now a new API that allows you to make a service
be in the foreground but requires providing a persistent notification to
go along with this state, allowing the user to know about and control it.

15 years agoam ad4bc607: Merge change 21772 into donut
Xavier Ducrohet [Tue, 18 Aug 2009 20:42:09 +0000 (13:42 -0700)]
am ad4bc607: Merge change 21772 into donut

Merge commit 'ad4bc607bd236dd9b06df9cf89dc5e14541ff66c' into eclair

* commit 'ad4bc607bd236dd9b06df9cf89dc5e14541ff66c':
  Fix Resources#opeRawResource(int, TypedValue) in layoutlib.

15 years agoDormant ICON was not being displayed, fixes bug 2039239.
Wink Saville [Tue, 18 Aug 2009 19:37:39 +0000 (12:37 -0700)]
Dormant ICON was not being displayed, fixes bug 2039239.

15 years agoMerge change 21772 into donut
Android (Google) Code Review [Tue, 18 Aug 2009 20:39:50 +0000 (13:39 -0700)]
Merge change 21772 into donut

* changes:
  Fix Resources#opeRawResource(int, TypedValue) in layoutlib.

15 years agoFix Resources#opeRawResource(int, TypedValue) in layoutlib.
Xavier Ducrohet [Tue, 18 Aug 2009 20:35:55 +0000 (13:35 -0700)]
Fix Resources#opeRawResource(int, TypedValue) in layoutlib.

15 years agoam 79dbf7c8: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Tue, 18 Aug 2009 20:11:32 +0000 (13:11 -0700)]
am 79dbf7c8: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit '79dbf7c8fc910957c9687b863eae97a768d6be60' into eclair

* commit '79dbf7c8fc910957c9687b863eae97a768d6be60':
  Import revised translations.  DO NOT MERGE

15 years agoam 238f8fe6: Merge change 21652 into donut
Jack Palevich [Tue, 18 Aug 2009 20:11:08 +0000 (13:11 -0700)]
am 238f8fe6: Merge change 21652 into donut

Merge commit '238f8fe645271a0ef891553e1c8c3c964c3c876d' into eclair

* commit '238f8fe645271a0ef891553e1c8c3c964c3c876d':
  Make ZoomButtonsController public.

15 years agoresolved conflicts for merge of 6ba69734 to eclair, skipping preloaded-classes as...
Android Git Automerger [Tue, 18 Aug 2009 20:08:40 +0000 (13:08 -0700)]
resolved conflicts for merge of 6ba69734 to eclair, skipping preloaded-classes as pre Bob

15 years agoam d9d25760: Remove dead locks in system process when installing packages
Suchi Amalapurapu [Tue, 18 Aug 2009 20:00:32 +0000 (13:00 -0700)]
am d9d25760: Remove dead locks in system process when installing packages

Merge commit 'd9d2576017fadcf47589b54e8ee198f48cc19352' into eclair

* commit 'd9d2576017fadcf47589b54e8ee198f48cc19352':
  Remove dead locks in system process when installing packages

15 years agoMerge change 21745 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 19:52:29 +0000 (12:52 -0700)]
Merge change 21745 into eclair

* changes:
  Refactored "stagefright" commandline app, split off JPEGSource.

15 years agoMerge change 21748 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 19:39:34 +0000 (12:39 -0700)]
Merge change 21748 into eclair

* changes:
  Get At command count from Bluetooth headset.

15 years agoGet At command count from Bluetooth headset.
Amith Yamasani [Tue, 18 Aug 2009 18:29:28 +0000 (11:29 -0700)]
Get At command count from Bluetooth headset.

Pass in the BT headset object when available to the BatteryStats.

15 years agoMerge change 21716 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 19:33:54 +0000 (12:33 -0700)]
Merge change 21716 into eclair

* changes:
  Include the list of registered providers the package manager dumpsys output.

15 years agoMerge change 21754 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 19:12:27 +0000 (12:12 -0700)]
Merge change 21754 into eclair

* changes:
  E911 call fix in ECM

15 years agoE911 call fix in ECM
Wink Saville [Tue, 18 Aug 2009 19:08:59 +0000 (12:08 -0700)]
E911 call fix in ECM

Based on the VZW requirement, phone should be still in ECM mode in 2nd emergency call.
but in the current phone call, if a 2nd emergency call is originated, ECM mode will exit.

For fixing this problem, the coding design is as below:
1. In framework, canceling the first ECM timer immediately upon the origination of the
   2nd E911 call, and restarting a new timer when the 2nd E911 ends.
2. Framework needs to syncronize the timer with phone app by sending notification to phone app to
   inform timer is canceled or re-started, since phone app needs to show how much ECM time left
   on the status bar.
3. In phone app's emergency callback mode service, the timer in this service will be canceled
   when it receives the timer cancel notification from framework; the timer will be restarted
   once it receives timer restart notification from framework.

15 years agoInclude the list of registered providers the package manager dumpsys output.
Jeff Hamilton [Tue, 18 Aug 2009 17:25:30 +0000 (12:25 -0500)]
Include the list of registered providers the package manager dumpsys output.

15 years agoMerge change 21750 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 18:39:43 +0000 (11:39 -0700)]
Merge change 21750 into eclair

* changes:
  Tweak the galaxy

15 years agoTweak the galaxy
Romain Guy [Tue, 18 Aug 2009 18:39:17 +0000 (11:39 -0700)]
Tweak the galaxy

15 years agoRefactored "stagefright" commandline app, split off JPEGSource.
Andreas Huber [Tue, 18 Aug 2009 18:27:32 +0000 (11:27 -0700)]
Refactored "stagefright" commandline app, split off JPEGSource.

15 years agoMerge change 21728 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 18:24:04 +0000 (11:24 -0700)]
Merge change 21728 into eclair

* changes:
  removing old gears code and correcting simple method typo

15 years agoremoving old gears code and correcting simple method typo
Derek Sollenberger [Tue, 18 Aug 2009 17:59:48 +0000 (13:59 -0400)]
removing old gears code and correcting simple method typo

15 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 18 Aug 2009 18:19:17 +0000 (11:19 -0700)]
Import revised translations.  DO NOT MERGE

15 years agomake syncadapter set whether the account is syncable
Fred Quintana [Mon, 17 Aug 2009 20:05:39 +0000 (13:05 -0700)]
make syncadapter set whether the account is syncable

15 years agoMerge change 21727 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 18:05:58 +0000 (11:05 -0700)]
Merge change 21727 into eclair

* changes:
  Fix missing -lpthread in linux-sim build.

15 years agoam ace6a5cf: Merge change 21408 into donut
Xavier Ducrohet [Tue, 18 Aug 2009 18:01:19 +0000 (11:01 -0700)]
am ace6a5cf: Merge change 21408 into donut

Merge commit 'ace6a5cfc0d14a909b4b95bdfe16609188125baf' into eclair

* commit 'ace6a5cfc0d14a909b4b95bdfe16609188125baf':
  Improved drawing/matrix support in layoutlib

15 years agoam f5e6a211: Merge change 21572 into donut
Jasperln [Tue, 18 Aug 2009 18:01:11 +0000 (11:01 -0700)]
am f5e6a211: Merge change 21572 into donut

Merge commit 'f5e6a211b16e26104b6fb2d32ef4eabbf9fbc2d1' into eclair

* commit 'f5e6a211b16e26104b6fb2d32ef4eabbf9fbc2d1':
  Add constants to adjust Vending input and output buffer sizes.

15 years agoFix missing -lpthread in linux-sim build.
Feng Qian [Tue, 18 Aug 2009 18:00:30 +0000 (11:00 -0700)]
Fix missing -lpthread in linux-sim build.

It mimics the behavior in libstagefraight/Android.mk

15 years agoam 093918a6: (-s ours) Merge change 21549 into donut
Eric Fischer [Tue, 18 Aug 2009 18:00:28 +0000 (11:00 -0700)]
am 093918a6: (-s ours) Merge change 21549 into donut

Merge commit '093918a62818c6bb176921928d2ca7a22857ec9b' into eclair

* commit '093918a62818c6bb176921928d2ca7a22857ec9b':
  Import revised translations.  DO NOT MERGE

15 years agoam c678a93a: Fix issue #2056585: applications can put phone in inconsistent state...
Dianne Hackborn [Tue, 18 Aug 2009 18:00:16 +0000 (11:00 -0700)]
am c678a93a: Fix issue #2056585: applications can put phone in inconsistent state wrt airplane mode

Merge commit 'c678a93a73c83e841032874bee9c202936da73c0' into eclair

* commit 'c678a93a73c83e841032874bee9c202936da73c0':
  Fix issue #2056585: applications can put phone in inconsistent state wrt airplane mode

15 years agoam cfa419b7: Correct comments for startSearch in Activity and SearchManager to explai...
Mike LeBeau [Tue, 18 Aug 2009 17:59:53 +0000 (10:59 -0700)]
am cfa419b7: Correct comments for startSearch in Activity and SearchManager to explain Donut behavior correctly.

Merge commit 'cfa419b754332e12f8cd45244c2f3bee9d6a74bb' into eclair

* commit 'cfa419b754332e12f8cd45244c2f3bee9d6a74bb':
  Correct comments for startSearch in Activity and SearchManager to explain

15 years agoam d5884a9b: Merge change 21358 into donut
Jean-Michel Trivi [Tue, 18 Aug 2009 17:59:20 +0000 (10:59 -0700)]
am d5884a9b: Merge change 21358 into donut

Merge commit 'd5884a9ba45e58294c09fd2747c87d761b9daee5' into eclair

* commit 'd5884a9ba45e58294c09fd2747c87d761b9daee5':
  Unhide the broadcast intent that signals completion of the TTS language

15 years agoam 75c49842: Add maxSdkVersion information in dump badging option
Suchi Amalapurapu [Tue, 18 Aug 2009 17:59:08 +0000 (10:59 -0700)]
am 75c49842: Add maxSdkVersion information in dump badging option

Merge commit '75c498426a17b47d445711bb9e36794b05876a56' into eclair

* commit '75c498426a17b47d445711bb9e36794b05876a56':
  Add maxSdkVersion information in dump badging option

15 years agoMerge change 21468 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 17:51:49 +0000 (10:51 -0700)]
Merge change 21468 into eclair

* changes:
  Couple of fixes for viewport.

15 years agoMerge change 21634 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 17:29:43 +0000 (10:29 -0700)]
Merge change 21634 into eclair

* changes:
  Add new calendar database columns; do not merge (cherry-picked 1fa64)

15 years agoFix potential leak in ViewRoot.
Romain Guy [Tue, 18 Aug 2009 03:17:30 +0000 (20:17 -0700)]
Fix potential leak in ViewRoot.

The way View.post() is handled can cause potential leaks in ViewRoot. For instance,
if a View calls post(Runnable) just after being detached from the window (in an
onClickListener for instance,) it will enqueue a Runnable in ViewRoot.RunQueue.
Unfortunately the RunQueue is emptied only on the very first layout of the ViewRoot.
This change prevents the leak by rxecuting the enqueued Runnables on every layout request
The latter did not happen before and to keep views in a correct state I think it
is necessary to always ensure we run the Runnables sent via View.post().

15 years agoCouple of fixes for viewport.
Grace Kloba [Tue, 18 Aug 2009 17:10:51 +0000 (10:10 -0700)]
Couple of fixes for viewport.

http://b/issue?id=2053685. This is a tricky one. When Browser is restarted,
we may get first layout even before viewport tag is parsed. This is rare,
but it happens to Google Reader site. So we need to setup the viewport explicitly
if it happens after first layout. There is a pairing webkit change.

http://b/issue?id=2054131. When Google talk is loaded, it goes through an auth
redirect site which means first layout is called with standardLoad as false.
In this case, even the final site uses viewport tag to get mobile experience,
the intermediate one doesn't. To make sure most of the mobile sites, who
define their viewport width as device width, work correctly, we always update
the mRestoreState when we set viewport.

http://b/issue?id=2054121. When Browser is first started or restarted, the
mCurrentViewWidth is 0 as we don't know the WebView's width yet. As we can't
send VIEW_SIZE_CHANGED message directly, we reset WebView's mLastWidthSent
so that VIEW_SIZE_CHANGED will be sent from WebView when it's width is available.

15 years agoMerge change 21221 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 16:59:40 +0000 (09:59 -0700)]
Merge change 21221 into eclair

* changes:
  Modify svc power command so it pokes the wake lock when called. This will ensure screen is not asleep if stayon is requested.

15 years agoNEW API for SearchManager and Activity to 'triggerSearch'.
krosaen [Mon, 17 Aug 2009 15:56:48 +0000 (08:56 -0700)]
NEW API for SearchManager and Activity to 'triggerSearch'.

This is pretty much the same thing as startSearch, except it also launches the
query.  We enforce that this can only be done for the package of the app that is
associated with the search mananger (e.g you can't trigger a contacts search
from anywhere).

15 years agoam c1c432f5: Merge change 21241 into donut
Xavier Ducrohet [Tue, 18 Aug 2009 15:44:59 +0000 (08:44 -0700)]
am c1c432f5: Merge change 21241 into donut

Merge commit 'c1c432f57b782ed9d8d65be7ea1bee1e1d7d7839' into eclair

* commit 'c1c432f57b782ed9d8d65be7ea1bee1e1d7d7839':
  Layoutlib now uses the dimen status_bar_height instead of hard-coded value

15 years agoam 0950c5de: Merge change 21226 into donut
Jean-Michel Trivi [Tue, 18 Aug 2009 15:44:51 +0000 (08:44 -0700)]
am 0950c5de: Merge change 21226 into donut

Merge commit '0950c5de864d1ad83ed96efc5c2d1569b4d36188' into eclair

* commit '0950c5de864d1ad83ed96efc5c2d1569b4d36188':
  Fix bug 2046705 where the output of the speech synthesizer is too low.

15 years agoam c8ab08aa: Merge change 21124 into donut
Jean-Baptiste Queru [Tue, 18 Aug 2009 15:44:43 +0000 (08:44 -0700)]
am c8ab08aa: Merge change 21124 into donut

Merge commit 'c8ab08aa86aea3b693f731c9e817eeb71ab4c1cd' into eclair

* commit 'c8ab08aa86aea3b693f731c9e817eeb71ab4c1cd':
  Add license-related files

15 years agoam ba52b3e0: Merge change 21149 into donut
Scott Main [Tue, 18 Aug 2009 15:44:38 +0000 (08:44 -0700)]
am ba52b3e0: Merge change 21149 into donut

Merge commit 'ba52b3e08b33592457242944f7a89691a5b94880' into eclair

* commit 'ba52b3e08b33592457242944f7a89691a5b94880':
  DOCS ONLY.

15 years agoMerge change 21648 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 15:44:18 +0000 (08:44 -0700)]
Merge change 21648 into eclair

* changes:
  Remove the hack to include Gears as it is gone now.

15 years agoBluetooth: API change.
Nick Pelly [Sat, 15 Aug 2009 01:33:38 +0000 (18:33 -0700)]
Bluetooth: API change.

Split BluetoothDevice into BluetoothDevice and BluetoothAdapter.

BluetoothAdapter: Represents the local BT adapter. Operations on the local
                  adapter (start a scan, etc).
BluetoothDevice: Represents a remote BT device. Operations on remote devices
                 (pair, connect, etc).

IBluetoothDevice.aidl -> Bluetooth.aidl
BluetoothDeviceService.java -> BluetoothDeviceService.java

TODO:
Javadoc

15 years agoMerge change 21326 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 14:20:06 +0000 (07:20 -0700)]
Merge change 21326 into eclair

* changes:
  aapt now attempts to process all assets even if some are malformed.

15 years agoMerge change 21601 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 13:03:47 +0000 (06:03 -0700)]
Merge change 21601 into eclair

* changes:
  BatteryService: Add support for new standard battery voltage and temperature attributes.

15 years agoMerge change 21646 into eclair
Android (Google) Code Review [Tue, 18 Aug 2009 07:27:16 +0000 (00:27 -0700)]
Merge change 21646 into eclair

* changes:
  fix bug [2021677] egl driver unloaded after eglTerminate() is called