OSDN Git Service

android-x86/frameworks-base.git
14 years agoSend "encoding problem" to the network for general errors during SMS dispatch.
jsh [Thu, 22 Oct 2009 00:55:31 +0000 (17:55 -0700)]
Send "encoding problem" to the network for general errors during SMS dispatch.

Previously we were returning "other terminal problem" to the network, but this
had the potential of blocking MT SMS messages for days at a time (eg, if the
problematic message is resent).  Sending the "encoding problem" cause code is
reasonable since in most cases the we have encountered an error while trying
to parse the message.

Addresses b/2200412.

14 years agoMerge change I1538dba4 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 22:56:10 +0000 (18:56 -0400)]
Merge change I1538dba4 into eclair

* changes:
  Make FWK start a wifi scan if supplicant forgets. (do not merge)

14 years agoMerge change I13dd02fc into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 22:18:30 +0000 (18:18 -0400)]
Merge change I13dd02fc into eclair

* changes:
  telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing

14 years agoMerge change I7a03b074 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 22:15:20 +0000 (18:15 -0400)]
Merge change I7a03b074 into eclair

* changes:
  Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers.

14 years agoNow that the underlying bug is fixed we can continue using OMX_UseBuffer for this...
Andreas Huber [Wed, 21 Oct 2009 22:06:21 +0000 (15:06 -0700)]
Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers.

14 years agoMake FWK start a wifi scan if supplicant forgets. (do not merge)
Robert Greenwalt [Thu, 8 Oct 2009 00:57:49 +0000 (17:57 -0700)]
Make FWK start a wifi scan if supplicant forgets. (do not merge)

Waits 15sec after getting a DISCONNECTED or INACTIVE state.  Also tracks
the number of supplicant state transitions.  After the period is up
if we haven't received any more supplicant state transitions, it requests a scan.

bug: 2168081

14 years agotelephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing
Naveen Kalla [Mon, 12 Oct 2009 18:08:52 +0000 (11:08 -0700)]
telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing

When Android Telephony receives response to GET_REGISTRATION_STATE
message from RIL it may contain few fields set to NULL. Due to a parsing
exception encountered while parsing that field, the remaining fields will
not be parsed even if they are valid data. Ignore all fields that are NULL
while letting it parse non-NULL data.

For Latitude and Longitude, the values should not be hexadecimal. They
shall be parsed as decimal values as specified in the 3GPP2 C.S0005-A
specification. Invalid value is changed from -1 to Integer.MAX_VALUE.

Bug: 2201613
Change-Id: I13dd02fcfa2ae7fcb6f21c4b94b830786bd7270c

14 years agoMerge change Ifa8ab30e into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 20:11:23 +0000 (16:11 -0400)]
Merge change Ifa8ab30e into eclair

* changes:
  In onKeyUp for DPAD_CENTER, show the IME for text input.

14 years agoIn onKeyUp for DPAD_CENTER, show the IME for text input.
Leon Scroggins [Wed, 21 Oct 2009 19:35:33 +0000 (15:35 -0400)]
In onKeyUp for DPAD_CENTER, show the IME for text input.

Fixes http://b/issue?id=2201966

Change-Id: Ifa8ab30e205e21e9e69e9a7405a0a6fc86c6c488

14 years agoMerge change Ic4bf942c into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 19:09:58 +0000 (15:09 -0400)]
Merge change Ic4bf942c into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoMerge change Id443ba45 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 18:04:26 +0000 (14:04 -0400)]
Merge change Id443ba45 into eclair

* changes:
  Prevent transparent region from getting out of sync with Surface Flinger

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 21 Oct 2009 17:41:17 +0000 (10:41 -0700)]
Import revised translations.  DO NOT MERGE

Approver: jerryw

14 years agoPrevent transparent region from getting out of sync with Surface Flinger
Jack Palevich [Sat, 10 Oct 2009 00:37:50 +0000 (17:37 -0700)]
Prevent transparent region from getting out of sync with Surface Flinger

The ViewRoot is responsible for calculating the current view's surface's
transparent region and reporting this to the window server, which in
turn notifies Surface Flinger.

To minimize cross-process traffic, ViewRoot keeps track of the
most recent transparent region that it has reported to the window
server, and only sends updates when the region shape changes.

ViewRoot is effectively shadowing the internal state of the window
server, and usually this works fine, because ViewRoot is usually the
only thing that changes this value.

But when the surface is recreated, the window server resets the
transparent region to empty. So in order to properly update the window
server we need to reset our copy of its state to empty too.

Fixes issue #2133090: GL Gears runs at half speed in some cases

14 years agoMerge change Ica1d7b90 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 04:48:41 +0000 (00:48 -0400)]
Merge change Ica1d7b90 into eclair

* changes:
  Disable known failure math tanhd tests  (DO NOT MERGE)

14 years agoam d7bc6546: Fix spacing to escape "false" correctly.
Jeff Sharkey [Tue, 20 Oct 2009 23:20:36 +0000 (16:20 -0700)]
am d7bc6546: Fix spacing to escape "false" correctly.

Merge commit 'd7bc6546268ccc21954427a3ef56f6365bacef5a' into eclair

* commit 'd7bc6546268ccc21954427a3ef56f6365bacef5a':
  Fix spacing to escape "false" correctly.

14 years agoMerge change I1f30f3f1 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 23:14:20 +0000 (19:14 -0400)]
Merge change I1f30f3f1 into eclair

* changes:
  Fix #2201615: getCallingPackage returns calling process instead of calling package

14 years agoFix spacing to escape "false" correctly.
Jeff Sharkey [Tue, 20 Oct 2009 22:57:43 +0000 (15:57 -0700)]
Fix spacing to escape "false" correctly.

14 years agoMerge change I14e833fa into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 22:51:06 +0000 (18:51 -0400)]
Merge change I14e833fa into eclair

* changes:
  If we fail to persist the current settings and fall back to the back settings file when reading settings in PackageManager, we might rename the corrupted settings to backup(in case of power failure between the earlier write failure and file deletion) and end up loosing both files. So just clear up the corrupted current settings file if we have backup. The backup wouldn't exist if everything went well with persisting the earlier settings.

14 years agoFix #2201615: getCallingPackage returns calling process instead of calling package
Dianne Hackborn [Tue, 20 Oct 2009 22:42:38 +0000 (15:42 -0700)]
Fix #2201615: getCallingPackage returns calling process instead of calling package

Change-Id: I1f30f3f1ce8928796c1ab502d0c2dc02de86e8e7

14 years agoDisable known failure math tanhd tests (DO NOT MERGE)
Brett Chabot [Tue, 20 Oct 2009 21:09:28 +0000 (14:09 -0700)]
Disable known failure math tanhd tests  (DO NOT MERGE)

BUG 2139334

14 years agoMerge change I37c4157d into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 20:28:05 +0000 (16:28 -0400)]
Merge change I37c4157d into eclair

* changes:
  add "junk path" -k option to aapt (DO NOT MERGE)

14 years agoIf we fail to persist the current settings and fall back to the back settings file
Suchi Amalapurapu [Tue, 20 Oct 2009 18:27:32 +0000 (11:27 -0700)]
If we fail to persist the current settings and fall back to the back settings file
when reading settings in PackageManager, we might rename the corrupted settings to
backup(in case of power failure between the earlier write failure and file deletion)
and end up loosing both files.
So just clear up the corrupted current settings file if we have backup.
The backup wouldn't exist if everything went well with persisting the earlier settings.

We do this in both read and write just in case.

14 years agoMerge change Ie3ffb526 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 19:52:29 +0000 (15:52 -0400)]
Merge change Ie3ffb526 into eclair

* changes:
  do not merge: The qcom video decoders always output yuv data after adjusting dimensions to be a multiple of 16.

14 years agoMerge change I1932e8f8 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 19:13:05 +0000 (15:13 -0400)]
Merge change I1932e8f8 into eclair

* changes:
  Disable com.android.unit_tests.HeapTest:testExternalOomeLarge.

14 years agodo not merge: The qcom video decoders always output yuv data after adjusting dimensio...
Andreas Huber [Tue, 20 Oct 2009 17:43:48 +0000 (10:43 -0700)]
do not merge: The qcom video decoders always output yuv data after adjusting dimensions to be a multiple of 16.

Add a quirk mode to OMXCodec that makes it aware of this fact for proper display. Also integrate back a change from eclair-mr2 that delays releasing an output buffer briefly after posting it to surface flinger, as we don't know how long it'll take it to actually display the buffer's content.

14 years agoMerge change I1864d098 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 18:27:55 +0000 (14:27 -0400)]
Merge change I1864d098 into eclair

* changes:
  Improve wallpaper offset handling.

14 years agoMerge change Ib5736616 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 18:22:37 +0000 (14:22 -0400)]
Merge change Ib5736616 into eclair

* changes:
  Fix issue #2191572: Difficulties drawing window shade

14 years agoMerge change I61741f5a into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 17:10:42 +0000 (13:10 -0400)]
Merge change I61741f5a into eclair

* changes:
  Fix high density bug 2179543: use 'dip' instead of 'px'

14 years agoPowerManagerService: Add missing synchronization in mAutoBrightnessTask.
Mike Lockwood [Tue, 20 Oct 2009 15:08:49 +0000 (11:08 -0400)]
PowerManagerService: Add missing synchronization in mAutoBrightnessTask.

Change-Id: Ie9b93253e991f709b223b28a9148be3b254fb273
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFix high density bug 2179543: use 'dip' instead of 'px'
Marco Nelissen [Mon, 19 Oct 2009 23:41:21 +0000 (16:41 -0700)]
Fix high density bug 2179543: use 'dip' instead of 'px'

14 years agoPower Manager light sensor fixes:
Mike Lockwood [Tue, 20 Oct 2009 12:10:00 +0000 (08:10 -0400)]
Power Manager light sensor fixes:

Fix problem with ignored sensor events right after screen turns on.
Do not flash button backlights when device is booting.
Process the first light sensor change after waking the screen immediately rather than debouncing.
Cancel mAutoBrightnessTask when light sensor is disabled.

Change-Id: Iffc5e090b239432b7643812fa8ecb5f69da1679d
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoPower Manager support for light sensor backlight management.
Mike Lockwood [Fri, 16 Oct 2009 00:09:16 +0000 (17:09 -0700)]
Power Manager support for light sensor backlight management.

Change-Id: I470e2d7d12abf0dbfd31d84859b06bfae3cb36a1
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoDisable com.android.unit_tests.HeapTest:testExternalOomeLarge.
Brett Chabot [Tue, 20 Oct 2009 00:34:33 +0000 (17:34 -0700)]
Disable com.android.unit_tests.HeapTest:testExternalOomeLarge.

BUG 2170975

14 years agoadd "junk path" -k option to aapt (DO NOT MERGE)
Doug Zongker [Tue, 20 Oct 2009 00:04:21 +0000 (17:04 -0700)]
add "junk path" -k option to aapt (DO NOT MERGE)

Adds a "junk path" option to aapt so that you can do:

   aapt add -k archive.zip path/to/some.file

and have the file stored in the zip under the name "some.file"
(without the path).  Needed so that we can use 'aapt add' in place of
'zip -j' when building jar files, which will lead to smaller
incremental OTAs.

(This is a cherry-pick of a change already submitted to eclair-mr2;
the change was approved for mr1.)

14 years agoMerge change I4219797a into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 23:38:56 +0000 (19:38 -0400)]
Merge change I4219797a into eclair

* changes:
  Log exception if we hit an error parsing an incoming SMS message.

14 years agoUse the TLS register if HAVE_ARM_TLS_REGISTER is defined
Mathias Agopian [Wed, 14 Oct 2009 09:39:53 +0000 (02:39 -0700)]
Use the TLS register if HAVE_ARM_TLS_REGISTER is defined

this will be needed for SMP, but would improve dispatching GL calls a bit
on armv6 and above.

14 years agoLog exception if we hit an error parsing an incoming SMS message.
jsh [Mon, 19 Oct 2009 23:11:37 +0000 (16:11 -0700)]
Log exception if we hit an error parsing an incoming SMS message.

This will help debug b/2197566.  We should have been logging the error
anyway.

14 years agoImprove wallpaper offset handling.
Dianne Hackborn [Thu, 15 Oct 2009 21:29:19 +0000 (14:29 -0700)]
Improve wallpaper offset handling.

Fiddle around with the offsets of wallpapers to have better defaults, and
update the offset when the currently wallpaper target is not setting an
offset itself.

Change-Id: I1864d098fb4813fb0c67857af8ebf398b35e6876

14 years agoFix issue #2191572: Difficulties drawing window shade
Dianne Hackborn [Mon, 19 Oct 2009 18:24:39 +0000 (11:24 -0700)]
Fix issue #2191572: Difficulties drawing window shade

The touch location filtering hacks had a little problem.

Change-Id: Ib57366169c87f83af1adcc8b6a00dadc01582339

14 years agoMerge change I0953c1d5 into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 22:27:47 +0000 (18:27 -0400)]
Merge change I0953c1d5 into eclair

* changes:
  fix [2153873] EGL-1.4 software implementation misses surface attributes

14 years agoProper fix for zero signal strength and no_service. Fixes #2176141
Amith Yamasani [Fri, 9 Oct 2009 01:28:01 +0000 (18:28 -0700)]
Proper fix for zero signal strength and no_service. Fixes #2176141

Track phone service state changes and use a separate timer for out-of-service
since the hunting can timeout on some devices.

Store the timeout value in the config.xml, as it is device/network specific.

Settings App will also change to use the hunting duration to compute the cost
of zero signal.

14 years agoam ae26b8b6: Update 5.xml with last minute changes.
Dianne Hackborn [Mon, 19 Oct 2009 22:04:14 +0000 (15:04 -0700)]
am ae26b8b6: Update 5.xml with last minute changes.

Merge commit 'ae26b8b6f40ad037927bf02ffd47953001c2cb3b' into eclair

* commit 'ae26b8b6f40ad037927bf02ffd47953001c2cb3b':
  Update 5.xml with last minute changes.

14 years agofix [2153873] EGL-1.4 software implementation misses surface attributes
Mathias Agopian [Mon, 19 Oct 2009 21:46:27 +0000 (14:46 -0700)]
fix [2153873] EGL-1.4 software implementation misses surface attributes

14 years agoMerge change Ide4c8cbc into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 21:31:52 +0000 (17:31 -0400)]
Merge change Ide4c8cbc into eclair

* changes:
  fix [2151588] glTexSubImage2D() allows pixel format conversion

14 years agoMerge change I88d11cfb into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 21:31:35 +0000 (17:31 -0400)]
Merge change I88d11cfb into eclair

* changes:
  one step towards fixing [2071412] work around mdp 32-bits fade limitation

14 years agofix [2151588] glTexSubImage2D() allows pixel format conversion
Mathias Agopian [Sat, 17 Oct 2009 01:34:31 +0000 (18:34 -0700)]
fix [2151588] glTexSubImage2D() allows pixel format conversion

14 years agoUpdate 5.xml with last minute changes.
Dianne Hackborn [Mon, 19 Oct 2009 19:42:28 +0000 (12:42 -0700)]
Update 5.xml with last minute changes.

14 years agoUpdate 5.xml with last minute changes.
Dianne Hackborn [Mon, 19 Oct 2009 19:42:28 +0000 (12:42 -0700)]
Update 5.xml with last minute changes.

Change-Id: I520ca879d31cb4581556138a73b542c070de3c00

14 years agoone step towards fixing [2071412] work around mdp 32-bits fade limitation
Mathias Agopian [Fri, 16 Oct 2009 23:17:58 +0000 (16:17 -0700)]
one step towards fixing [2071412] work around mdp 32-bits fade limitation

simplify the GL_MODULATE case and allow blending disabled with RGBA texture

14 years agoam f3bc5349: docs: fix doc error in dialog example snippet (no not merge)
Scott Main [Sat, 17 Oct 2009 00:52:15 +0000 (17:52 -0700)]
am f3bc5349: docs: fix doc error in dialog example snippet (no not merge)

Merge commit 'f3bc5349b20f642f798c2b96d7bf7c05c2af998f' into eclair

* commit 'f3bc5349b20f642f798c2b96d7bf7c05c2af998f':
  docs: fix doc error in dialog example snippet (no not merge)

14 years agodocs: fix doc error in dialog example snippet (no not merge)
Scott Main [Fri, 16 Oct 2009 21:08:37 +0000 (14:08 -0700)]
docs: fix doc error in dialog example snippet (no not merge)

bug: 2160782

14 years agoMerge change I11ebbfd9 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 22:13:19 +0000 (18:13 -0400)]
Merge change I11ebbfd9 into eclair

* changes:
  A few more testcases for the vendor to reproduce issues with their decoder. Not part of the shipping image.

14 years agoMerge change Idcaa1ef8 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 22:06:43 +0000 (18:06 -0400)]
Merge change Idcaa1ef8 into eclair

* changes:
  1) Add 10 seconds wait time before collecting the end memory. 2) Modified the player stress test, shorten the plabyack time.

14 years agoA few more testcases for the vendor to reproduce issues with their decoder. Not part...
Andreas Huber [Fri, 16 Oct 2009 22:05:45 +0000 (15:05 -0700)]
A few more testcases for the vendor to reproduce issues with their decoder. Not part of the shipping image.

14 years agoMerge change I7299c83b into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 21:56:29 +0000 (17:56 -0400)]
Merge change I7299c83b into eclair

* changes:
  Fix bug exposed by filmstrip.  The updated and expanded SimpleMesh had an ordering bug with component coordinates when both texture and normals were used.

14 years agoFix bug exposed by filmstrip. The updated and expanded SimpleMesh had an ordering...
Jason Sams [Fri, 16 Oct 2009 21:55:41 +0000 (14:55 -0700)]
Fix bug exposed by filmstrip.  The updated and expanded SimpleMesh had an ordering bug with component coordinates when both texture and normals were used.

14 years agoMerge change I6fc56997 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 21:26:55 +0000 (17:26 -0400)]
Merge change I6fc56997 into eclair

* changes:
  fix [2187212] add support for GLESv2 dispatch based on TLS

14 years agoMerge change Ia8ac904d into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 21:26:15 +0000 (17:26 -0400)]
Merge change Ia8ac904d into eclair

* changes:
  fix [2182249] [MR1] valgrind error in surface flinger

14 years agoMerge change Ic37381fb into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 21:23:11 +0000 (17:23 -0400)]
Merge change Ic37381fb into eclair

* changes:
  docs: fix doc error in dialog example snippet

14 years agodocs: fix doc error in dialog example snippet
Scott Main [Fri, 16 Oct 2009 21:08:37 +0000 (14:08 -0700)]
docs: fix doc error in dialog example snippet

bug: 2160782

14 years agoMerge change Ib897cff1 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 19:36:40 +0000 (15:36 -0400)]
Merge change Ib897cff1 into eclair

* changes:
  do not merge Return valid package info for packages that have been uninstalled with an option to retain data and resources using the flag GET_UNINSTALLED_PACKAGES These packages do not have a package setting. just check the flag and return the required info from PackageParser.generatePackageInfo

14 years agoMerge change I9521cf8b into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 16:29:39 +0000 (12:29 -0400)]
Merge change I9521cf8b into eclair

* changes:
  Register for light sensor events if non-hardware based auto-brightnees is enabled

14 years agoMerge change I01935be3 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 16:29:15 +0000 (12:29 -0400)]
Merge change I01935be3 into eclair

* changes:
  Remove PowerManager.setAutoBrightness()

14 years agoRegister for light sensor events if non-hardware based auto-brightnees is enabled
Mike Lockwood [Sun, 4 Oct 2009 12:44:47 +0000 (08:44 -0400)]
Register for light sensor events if non-hardware based auto-brightnees is enabled

Change-Id: I9521cf8b315306bdafa70c1500f2e4af83d94ec3
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRemove PowerManager.setAutoBrightness()
Mike Lockwood [Thu, 15 Oct 2009 04:17:09 +0000 (21:17 -0700)]
Remove PowerManager.setAutoBrightness()

We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.
Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants.

Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agodo not merge: fix copy/paste using trackball on passion
Cary Clark [Thu, 15 Oct 2009 17:32:08 +0000 (13:32 -0400)]
do not merge: fix copy/paste using trackball on passion

This fix is alrady in mr2. It does not affect sholes --
this is a trackball only bug.

The selection caret and arrow now take the scale factor and
the height of the title bar into account when preparing the
canvas for drawing.

Clicking the trackball at the end of selecting text no longer
sends a click event.

Requires a companion fix in external/webkit
Fixes http://b/issue?id=2187591

14 years agoMerge change I0e09e56f into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 05:19:10 +0000 (01:19 -0400)]
Merge change I0e09e56f into eclair

* changes:
  Don't callback on NULL client. Bug 2180510.

14 years agoMerge change I486fdb55 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 03:32:39 +0000 (23:32 -0400)]
Merge change I486fdb55 into eclair

* changes:
  Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down

14 years agoFix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump...
Joe Onorato [Fri, 16 Oct 2009 03:26:08 +0000 (20:26 -0700)]
Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down

This thing needs to be rewritten.  It's grown too complicated for what it's doing,
and I don't like the physics anyway.

Also, this leaves the bug where if you press back while it's animating down, the
animation is ignored.  However it no longer jumps down all the way, it just
essentially ignores the back key.

Also, this makes the collapse get executed on the back key up event, so it works
with the swipe on the soft keys at the bottom of the screen.

14 years agodo not merge
Suchi Amalapurapu [Wed, 14 Oct 2009 19:11:48 +0000 (12:11 -0700)]
do not merge
Return valid package info for packages that have been uninstalled with
an option to retain data and resources using the flag GET_UNINSTALLED_PACKAGES
These packages do not have a package setting. just check the flag and return
the required info from PackageParser.generatePackageInfo

14 years ago1) Add 10 seconds wait time before collecting the end memory.
Yu Shan Emily Lau [Fri, 16 Oct 2009 00:32:41 +0000 (17:32 -0700)]
1) Add 10 seconds wait time before collecting the end memory.
2) Modified the player stress test, shorten the plabyack time.

14 years agoMerge change I741a6100 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 01:47:03 +0000 (21:47 -0400)]
Merge change I741a6100 into eclair

* changes:
  Fix bug where dirty messages for allocations attached to programVertex objects could be lost.

14 years agoFix bug where dirty messages for allocations attached to programVertex objects could...
Jason Sams [Fri, 16 Oct 2009 01:45:45 +0000 (18:45 -0700)]
Fix bug where dirty messages for allocations attached to programVertex objects could be lost.

14 years agofix [2182249] [MR1] valgrind error in surface flinger
Mathias Agopian [Fri, 16 Oct 2009 01:08:15 +0000 (18:08 -0700)]
fix [2182249] [MR1] valgrind error in surface flinger

14 years agoAdd separate configuration flag for hardware ALS support.
Mike Lockwood [Wed, 14 Oct 2009 18:55:50 +0000 (11:55 -0700)]
Add separate configuration flag for hardware ALS support.

A new flag config_hardware_automatic_brightness_available indicates
that the device has hardware support for automatic screen brightness management,
while config_automatic_brightness_available now indicates that automatic
brightness mode is available in general.

If config_automatic_brightness_available is true but config_hardware_automatic_brightness_available is false,
then automatic brightness mode support in PowerManager support will be used.

Bug b/2015734 (Ambient light sensor support in power manager)

Change-Id: I6cd888252043dd63df3c25a1d14c21a04a91ad28
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRemove hack in RS that called exit to WAR now fixed driver bugs. Make gloabal init...
Jason Sams [Thu, 15 Oct 2009 23:47:31 +0000 (16:47 -0700)]
Remove hack in RS that called exit to WAR now fixed driver bugs.  Make gloabal init safe by locking around the critical code.

14 years agoMinor bug fixes and add glError check.
Jason Sams [Wed, 14 Oct 2009 22:43:53 +0000 (15:43 -0700)]
Minor bug fixes and add glError check.

14 years agoAdd egl init start message to help debug driver init hangs.
Jason Sams [Thu, 8 Oct 2009 19:55:06 +0000 (12:55 -0700)]
Add egl init start message to help debug driver init hangs.

14 years agoMerge change I51d41230 into eclair
Android (Google) Code Review [Thu, 15 Oct 2009 22:49:44 +0000 (18:49 -0400)]
Merge change I51d41230 into eclair

* changes:
  Make sure CF icon updates when using "all CF" MMI.

14 years agoMerge change I0d74deb6 into eclair
Android (Google) Code Review [Thu, 15 Oct 2009 22:33:12 +0000 (18:33 -0400)]
Merge change I0d74deb6 into eclair

* changes:
  Fix possible NPE in the code that restores widgets' state.

14 years agoDon't callback on NULL client. Bug 2180510.
Dave Sparks [Thu, 15 Oct 2009 17:02:22 +0000 (10:02 -0700)]
Don't callback on NULL client. Bug 2180510.

We weren't checking to see if there was a valid camera client when
calling the notify callback function. Now we grab a strong pointer
before the callback to guarantee that the client is not destroyed
before we complete the callback. This change also fixes other
places in the code where we weren't holding a local strong pointer.

14 years agoFix possible NPE in the code that restores widgets' state.
Romain Guy [Thu, 15 Oct 2009 22:09:26 +0000 (15:09 -0700)]
Fix possible NPE in the code that restores widgets' state.

Bug #2189714
Reviewed by: ryanpc

Change-Id: I0d74deb6dc8e90e3b0eafd6b3c16b0c557c72873

14 years agoEnable some tests that requires local http server
Guang Zhu [Thu, 15 Oct 2009 17:45:49 +0000 (10:45 -0700)]
Enable some tests that requires local http server

14 years agoMerge change Ic9b31801 into eclair
Android (Google) Code Review [Thu, 15 Oct 2009 00:52:50 +0000 (20:52 -0400)]
Merge change Ic9b31801 into eclair

* changes:
  docs: setup new SDK documentation for 2.0 and change sdk build version to 2.0... move upgrading doc into a new guide for "updating" with the new manager tools and remove the previous updating doc from the dev guide. set up preliminary download page and guide for installing the full SDK. add the requirements doc in sdk/ for all general purposes. revise the download 'thank you' message.

14 years agodocs: setup new SDK documentation for 2.0 and change sdk build version to 2.0...
Scott Main [Wed, 14 Oct 2009 16:11:41 +0000 (09:11 -0700)]
docs: setup new SDK documentation for 2.0 and change sdk build version to 2.0...
move upgrading doc into a new guide for "updating" with
the new manager tools and remove the previous updating doc
from the dev guide. set up preliminary download page and guide
for installing the full SDK. add the requirements doc in sdk/
for all general purposes. revise the download 'thank you'
message.

bug: 2160782

14 years agoMake sure CF icon updates when using "all CF" MMI.
jsh [Wed, 14 Oct 2009 23:55:14 +0000 (16:55 -0700)]
Make sure CF icon updates when using "all CF" MMI.

Fixes b/2074739.

14 years agoRevert "Remove STOPSHIP comment."
Nick Pelly [Wed, 14 Oct 2009 19:19:54 +0000 (12:19 -0700)]
Revert "Remove STOPSHIP comment."

This reverts commit 3d0726b4d8a30e57852b70f1dcf4d8d20508cd1e

Change-Id: Ie1ce5d09cc0b799ef0799f30eedc95f0ca5d3fad
DrNo: jerrryw

14 years agoMerge change I2492bffe into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 18:55:44 +0000 (14:55 -0400)]
Merge change I2492bffe into eclair

* changes:
  Remove STOPSHIP comment.

14 years agoRemove STOPSHIP comment.
Nick Pelly [Wed, 14 Oct 2009 18:46:18 +0000 (11:46 -0700)]
Remove STOPSHIP comment.

Change-Id: I2492bffe57bded65fdbef5cf98e22cef3937e537
DrNo: eastham
Bug: 2089423
Joke: Why don't anteaters get sick? Because they're full of anty-bodies!

14 years agoMerge change If30c5e20 into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 16:52:00 +0000 (12:52 -0400)]
Merge change If30c5e20 into eclair

* changes:
  SDK doc change per http://b/2158141 - adds new res wizard to L10N tutorial. Changed image links to use @docRoot.

14 years agofix [2187212] add support for GLESv2 dispatch based on TLS
Mathias Agopian [Wed, 14 Oct 2009 09:06:37 +0000 (02:06 -0700)]
fix [2187212] add support for GLESv2 dispatch based on TLS

Instead of using a different function pointer table for ES 1.x and ES 2.x,
we use a single one that is the union (sort|uniq) of both tables. Two
instances of this table are initialized with pointers to GL ES 1.x and GL ES 2.x
entry-points.
When a context is created, we store its version number and when it is bound to a
thread we set the approruiate table based on the stored version.

This introduce no penalty while dispatching gl calls to the right API version.

[Pending Dr No approval for MR1]

14 years agoMaking new Contacts APIs visible in Eclair SDK - Part II
Dmitri Plotnikov [Wed, 14 Oct 2009 07:28:48 +0000 (00:28 -0700)]
Making new Contacts APIs visible in Eclair SDK - Part II

Bug: http://b/2186595
Change-Id: Id87533c25cceb0fe3b0845aed10912c937679f45

14 years agoMerge change I4ef3e82f into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 07:13:12 +0000 (03:13 -0400)]
Merge change I4ef3e82f into eclair

* changes:
  7 more ringtones. Now with more Dr. No!

14 years ago7 more ringtones. Now with more Dr. No!
Dave Sparks [Wed, 14 Oct 2009 05:27:13 +0000 (22:27 -0700)]
7 more ringtones. Now with more Dr. No!

14 years agoMerge change I875200fe into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 05:51:00 +0000 (01:51 -0400)]
Merge change I875200fe into eclair

* changes:
  Another fix for #2186897: Cannot unlock the device by swiping

14 years agoAnother fix for #2186897: Cannot unlock the device by swiping
Dianne Hackborn [Wed, 14 Oct 2009 05:43:33 +0000 (22:43 -0700)]
Another fix for #2186897: Cannot unlock the device by swiping

This was probably a side-effect of the divide by zero exception,
but we'll be safe anyway.

Change-Id: I875200febb9b3090d12f170066b2bea74c9f77f8

14 years agoMerge change Iac534225 into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 03:13:37 +0000 (23:13 -0400)]
Merge change Iac534225 into eclair

* changes:
  Fix issue #2186709: Can't unlock the device for a while

14 years agoFix issue #2186709: Can't unlock the device for a while
Dianne Hackborn [Wed, 14 Oct 2009 02:50:51 +0000 (19:50 -0700)]
Fix issue #2186709: Can't unlock the device for a while

Change-Id: Iac5342254036cc286ad502dba943520f55ea2405

14 years agoMaking new Contacts APIs visible in Eclair SDK
Dmitri Plotnikov [Wed, 14 Oct 2009 01:08:25 +0000 (18:08 -0700)]
Making new Contacts APIs visible in Eclair SDK

Bug: http://b/2186595

Change-Id: Iaba8514276299504af6ab0714577eb37d9608237

14 years agoCorrect non-opaque list separator assets.
Jeff Sharkey [Tue, 13 Oct 2009 23:28:36 +0000 (16:28 -0700)]
Correct non-opaque list separator assets.

Fixes http://b/2186076