OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Switches now have checked state"
Peter Ng [Wed, 31 Aug 2011 21:28:23 +0000 (14:28 -0700)]
Merge "Switches now have checked state"

12 years agoMerge "Use floating point window positions."
Dianne Hackborn [Wed, 31 Aug 2011 21:19:22 +0000 (14:19 -0700)]
Merge "Use floating point window positions."

12 years agoUse floating point window positions.
Dianne Hackborn [Wed, 31 Aug 2011 19:47:58 +0000 (12:47 -0700)]
Use floating point window positions.

Gets rid of gapps between windows during animations.

Change-Id: I17d2ef0af214008f0eabd7eb19268f145fe83b39

12 years agoMerge "Fix a crash where the EOS was signalled but some output buffer were still...
James Dong [Wed, 31 Aug 2011 21:17:18 +0000 (14:17 -0700)]
Merge "Fix a crash where the EOS was signalled but some output buffer were still pending."

12 years agoMerge "Fix bug #5243493 TextView selection is not working correctly when there is...
Fabrice Di Meglio [Wed, 31 Aug 2011 21:14:11 +0000 (14:14 -0700)]
Merge "Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it"

12 years agoMerge "Make ViewServer more quiet Bug #5231539"
Romain Guy [Wed, 31 Aug 2011 21:12:18 +0000 (14:12 -0700)]
Merge "Make ViewServer more quiet Bug #5231539"

12 years agoMake ViewServer more quiet
Romain Guy [Wed, 31 Aug 2011 21:11:07 +0000 (14:11 -0700)]
Make ViewServer more quiet
Bug #5231539

Change-Id: Ib1f3e0d7592b4af802efe4e9630a220c23450521

12 years agoFix bug #5243493 TextView selection is not working correctly when there is some RTL...
Fabrice Di Meglio [Wed, 31 Aug 2011 20:56:37 +0000 (13:56 -0700)]
Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it

- make the selection green highlight work

Change-Id: I4e3b88e3720288f973b1b9e68afa8f800ad13779

12 years agoMerge "Fix SurfaceMediaSource timestamp handling."
Eino-Ville Talvala [Wed, 31 Aug 2011 20:41:06 +0000 (13:41 -0700)]
Merge "Fix SurfaceMediaSource timestamp handling."

12 years agoMerge "Add DroidSansGeorgian font file"
Russell Brenner [Wed, 31 Aug 2011 20:33:04 +0000 (13:33 -0700)]
Merge "Add DroidSansGeorgian font file"

12 years agoMerge "Add DroidSansArmenian font file"
Russell Brenner [Wed, 31 Aug 2011 20:32:41 +0000 (13:32 -0700)]
Merge "Add DroidSansArmenian font file"

12 years agoMerge "NFC API updates."
Nick Pelly [Wed, 31 Aug 2011 20:24:14 +0000 (13:24 -0700)]
Merge "NFC API updates."

12 years agoMerge "Fix input channel leak. Bug: 5156144"
Jeff Brown [Wed, 31 Aug 2011 20:01:16 +0000 (13:01 -0700)]
Merge "Fix input channel leak. Bug: 5156144"

12 years agoMerge "Change condition to enter silent mode."
Eric Laurent [Wed, 31 Aug 2011 19:59:28 +0000 (12:59 -0700)]
Merge "Change condition to enter silent mode."

12 years agoMerge "Fix 5242200 only update RemoteControlDisplay when a client is present"
Jean-Michel Trivi [Wed, 31 Aug 2011 19:03:50 +0000 (12:03 -0700)]
Merge "Fix 5242200 only update RemoteControlDisplay when a client is present"

12 years agoFix 5242200 only update RemoteControlDisplay when a client is present
Jean-Michel Trivi [Wed, 31 Aug 2011 18:42:17 +0000 (11:42 -0700)]
Fix 5242200 only update RemoteControlDisplay when a client is present

A precondition for updateRemoteControlDisplay_syncRcs() is that
 mRCStack is not null. This condition was not verified when
 registering a RemoteControlDisplay.

Change-Id: I0b152410e57c590114b387e9ab83f0c4d15d060d

12 years agoMerge "Fix bug 5220390 - action bar title metrics"
Adam Powell [Wed, 31 Aug 2011 18:42:02 +0000 (11:42 -0700)]
Merge "Fix bug 5220390 - action bar title metrics"

12 years agoFix bug 5220390 - action bar title metrics
Adam Powell [Wed, 31 Aug 2011 17:33:20 +0000 (10:33 -0700)]
Fix bug 5220390 - action bar title metrics

Adjust action bar title layout metrics to match UX specs.

Refresh new metrics properly after a config change.

Change-Id: If19fad837ca2919193d4a3a8eb01c1caff68ca67

12 years agoMerge "Remove persistent behavior"
Irfan Sheriff [Wed, 31 Aug 2011 18:35:45 +0000 (11:35 -0700)]
Merge "Remove persistent behavior"

12 years agoMerge "Reload STA firmware on start"
Irfan Sheriff [Wed, 31 Aug 2011 18:35:26 +0000 (11:35 -0700)]
Merge "Reload STA firmware on start"

12 years agoMerge "More robust check around TelephonyManager init."
Jeff Sharkey [Wed, 31 Aug 2011 18:32:22 +0000 (11:32 -0700)]
Merge "More robust check around TelephonyManager init."

12 years agoMerge "make sure the test apk gets added to the test zip"
Tsu Chiang Chuang [Wed, 31 Aug 2011 18:29:17 +0000 (11:29 -0700)]
Merge "make sure the test apk gets added to the test zip"

12 years agoMore robust check around TelephonyManager init.
Jeff Sharkey [Wed, 31 Aug 2011 18:15:34 +0000 (11:15 -0700)]
More robust check around TelephonyManager init.

Only complain when Context radically changed.

Bug: 4676714
Change-Id: Ia183f9ba51056c857e634d901c618a73e45d2d05

12 years agoMerge "Stop the AudioSource in reset() of AwesomePlayer if AudioSource is not NULL...
Gloria Wang [Wed, 31 Aug 2011 17:37:48 +0000 (10:37 -0700)]
Merge "Stop the AudioSource in reset() of AwesomePlayer if AudioSource is not NULL and AudioPlayer was not started. Fix for 5236419."

12 years agomake sure the test apk gets added to the test zip
Tsu Chiang Chuang [Wed, 31 Aug 2011 17:31:27 +0000 (10:31 -0700)]
make sure the test apk gets added to the test zip

Change-Id: I6d79bb00f2ba96b50e2436053ad40c5246bc45fb

12 years agoMerge "Fix bug #5233207 android.graphics.cts.PaintTest#testBreakText fails on IRK56F...
Fabrice Di Meglio [Wed, 31 Aug 2011 17:30:27 +0000 (10:30 -0700)]
Merge "Fix bug #5233207 android.graphics.cts.PaintTest#testBreakText fails on IRK56F trygon-userdebug"

12 years agoStop the AudioSource in reset() of AwesomePlayer if AudioSource is not NULL
Gloria Wang [Wed, 31 Aug 2011 17:24:18 +0000 (10:24 -0700)]
Stop the AudioSource in reset() of AwesomePlayer if AudioSource is not NULL
and AudioPlayer was not started.
Fix for 5236419.

Change-Id: I5eadd069118c3533a19b5d6f6dca2ce16d8505fb

12 years agoRemove persistent behavior
Irfan Sheriff [Tue, 30 Aug 2011 00:01:33 +0000 (17:01 -0700)]
Remove persistent behavior

Until we figure out a good way to do it from both group owner
and client, remove persistent behavior

Bug: 5241839
Change-Id: I31bda672edaa17e6a500f185b6b879dcfdbd069d

12 years agoReload STA firmware on start
Irfan Sheriff [Wed, 31 Aug 2011 17:07:59 +0000 (10:07 -0700)]
Reload STA firmware on start

Bug: 5242253
Change-Id: If8e07bc96b46a0e5022cc9d12191de2e4dbec212

12 years agoChange condition to enter silent mode.
Eric Laurent [Tue, 16 Aug 2011 02:58:28 +0000 (19:58 -0700)]
Change condition to enter silent mode.

Previously, silent mode was entered if volume was already at 0 and
volume down key was pressed once.

The new volume management policy specifies that silent mode is entered when
volume is at last audible step and volume down key is pressed once.

Change-Id: Id3e75a99c522d8afe276868010b6e73495d23fde

12 years agoMerge "ATSParser now supports a mode in which PTS is considered to be absolute time"
Andreas Huber [Wed, 31 Aug 2011 16:44:57 +0000 (09:44 -0700)]
Merge "ATSParser now supports a mode in which PTS is considered to be absolute time"

12 years agoMerge "Fixing formatting, removing tabs"
Justin Ho [Wed, 31 Aug 2011 16:36:03 +0000 (09:36 -0700)]
Merge "Fixing formatting, removing tabs"

12 years agoAdd DroidSansArmenian font file
Russell Brenner [Mon, 29 Aug 2011 22:50:21 +0000 (15:50 -0700)]
Add DroidSansArmenian font file

This file is not yet added to any device configuration.
Its size is 25268 bytes.

Bug: 5240378
Change-Id: Ie4902e3b46742500c679bbfecb09fe19e1c2a290

12 years agoFixing formatting, removing tabs
Justin Ho [Wed, 31 Aug 2011 16:33:04 +0000 (09:33 -0700)]
Fixing formatting, removing tabs

Change-Id: I3b3254ae96d8375f1b5029e96db94a551304420f

12 years agoAdd DroidSansGeorgian font file
Russell Brenner [Mon, 29 Aug 2011 22:50:57 +0000 (15:50 -0700)]
Add DroidSansGeorgian font file

This file is not yet added to any device configuration.
Its size is 46788 bytes.

Bug: 5240378
Change-Id: If7b0f54de841e47e821526f7fcca91248bcf48be

12 years agoMerge "Integreate surfacetexture test into our continuous test framework."
Xia Wang [Wed, 31 Aug 2011 16:26:34 +0000 (09:26 -0700)]
Merge "Integreate surfacetexture test into our continuous test framework."

12 years agoMerge "RemoteControlClient metadata: add method for metadata of long type"
Jean-Michel Trivi [Wed, 31 Aug 2011 16:11:42 +0000 (09:11 -0700)]
Merge "RemoteControlClient metadata: add method for metadata of long type"

12 years agoMerge "Add a comment for setAdditionalInputMethodSubtypes"
satok [Wed, 31 Aug 2011 15:43:59 +0000 (08:43 -0700)]
Merge "Add a comment for setAdditionalInputMethodSubtypes"

12 years agoAdd a comment for setAdditionalInputMethodSubtypes
satok [Wed, 31 Aug 2011 14:27:39 +0000 (23:27 +0900)]
Add a comment for setAdditionalInputMethodSubtypes

Change-Id: I3a19471b80a6f8a68473cba6f0fc934bd052af10

12 years agoMerge "Add a functionality to disable the spell checker"
satok [Wed, 31 Aug 2011 12:57:19 +0000 (05:57 -0700)]
Merge "Add a functionality to disable the spell checker"

12 years agoFix crash in setAdditionalInputMethodSubtypes
satok [Wed, 31 Aug 2011 12:26:04 +0000 (21:26 +0900)]
Fix crash in setAdditionalInputMethodSubtypes

Bug: 5142455
Change-Id: I5eca4c1a3d9a964db04c819fc671670ef1b81817

12 years agoAdd a functionality to disable the spell checker
satok [Wed, 31 Aug 2011 12:15:17 +0000 (21:15 +0900)]
Add a functionality to disable the spell checker

Change-Id: I1c2292f457d1911c149d594c175e638c92ad3917

12 years agoMerge "Fix the display name in the input method panel on tablet"
satok [Wed, 31 Aug 2011 11:43:36 +0000 (04:43 -0700)]
Merge "Fix the display name in the input method panel on tablet"

12 years agoFix the display name in the input method panel on tablet
satok [Wed, 31 Aug 2011 11:16:17 +0000 (20:16 +0900)]
Fix the display name in the input method panel on tablet

Bug: 5103300
Change-Id: I20cec2bb822be6f15abfe4a21053c8eb8d48b9cc

12 years agoMerge "Change the heuristics for waiting for audiotracks to finish."
Narayan Kamath [Wed, 31 Aug 2011 10:53:03 +0000 (03:53 -0700)]
Merge "Change the heuristics for waiting for audiotracks to finish."

12 years agoMerge "Improve the fallback of the locale of the spell checker"
satok [Wed, 31 Aug 2011 09:57:23 +0000 (02:57 -0700)]
Merge "Improve the fallback of the locale of the spell checker"

12 years agoImprove the fallback of the locale of the spell checker
satok [Wed, 31 Aug 2011 08:24:47 +0000 (17:24 +0900)]
Improve the fallback of the locale of the spell checker

Change-Id: I79655dd13e60f221b07346596fb05cf7d3d5cf7d

12 years agoFix set additional subtypes.
satok [Wed, 31 Aug 2011 09:03:21 +0000 (18:03 +0900)]
Fix set additional subtypes.

Bug: 5102787
Change-Id: Ic38db8c33b6496a083e8158cd79fb54c21187b04

12 years agoMerge "Fix DeadObjectException of the spell checker"
satok [Wed, 31 Aug 2011 07:49:39 +0000 (00:49 -0700)]
Merge "Fix DeadObjectException of the spell checker"

12 years agoFix DeadObjectException of the spell checker
satok [Wed, 31 Aug 2011 07:30:27 +0000 (16:30 +0900)]
Fix DeadObjectException of the spell checker

Bug: 5119646
Change-Id: I2938a2206b79645c13a54cc7200f64c2c0aa3836

12 years agoSwitches now have checked state
Peter Ng [Wed, 31 Aug 2011 06:08:03 +0000 (23:08 -0700)]
Switches now have checked state

Bug: 5238933
Change-Id: I1ceca648f57d239c9c0935d4c8d2b129063fec04

12 years agoMerge "Disable clock in lockscreen; better flag logic."
Jeff Sharkey [Wed, 31 Aug 2011 05:51:00 +0000 (22:51 -0700)]
Merge "Disable clock in lockscreen; better flag logic."

12 years agoDisable clock in lockscreen; better flag logic.
Jeff Sharkey [Wed, 31 Aug 2011 05:05:47 +0000 (22:05 -0700)]
Disable clock in lockscreen; better flag logic.

When showing lockscreen, hide clock and navigation.  Clean up logic
to be easier to understand.

Bug: 5112812
Change-Id: I20e3563aa36644db678c7839d47f01f223fe8d37

12 years agoFix input channel leak.
Jeff Brown [Wed, 31 Aug 2011 03:34:48 +0000 (20:34 -0700)]
Fix input channel leak.
Bug: 5156144

Input channels could leak or simply live longer than they should
in some cases.

1. Monitor channels (used by the pointer location overlay) are never
   unregistered, so they would leak.

   Added code to handle failures in the receive callback by closing
   the input channel.

2. The DragState held onto its input window and application handles
   even after the input channel was disposed.

   Added code to null these handles out when they are no longer needed.

3. Input channels previously used as input event targets would stick
   around until the targets were cleared (usually on the next
   event).

   Added code to detect when the input dispatcher is in
   an idle state and to proactively clear the targets then
   to ensure that resources are released promptly.

4. Native input window handles held onto the input channel even
   after the input window was removed from the input dispatcher.
   Consequently, the input channel would not be disposed until
   the input window handle itself was freed.  Since the input
   window handle is held from managed code, this meant that the
   window's input channel could stick around until the next GC.

   Refactored the input window handle to separate the properties
   (info) and identify (handle) state into different objects.
   Then modified the dispatcher to release the properties (info)
   when no longer needed, including the input channel.

7. The pointer location overlay does not actually use its
   standard input channel, only the monitor input channel.

   Added INPUT_FEATURE_NO_INPUT_CHANNEL to allow windows to
   request that they not be provided with an input channel
   at all.

Improved some of the error handling logic to emit the status
code as part of the exception message.

Change-Id: I01988d4391a70c6678c8b0e936ca051af680b1a5

12 years agoNFC API updates.
Nick Pelly [Tue, 30 Aug 2011 16:37:25 +0000 (09:37 -0700)]
NFC API updates.

o NfcAdapter.set*(): enforce at least one activity is provided at compile time.
o Unhide and update javadoc for some API's scheduled for ICS release.

Change-Id: I2bf4ea101442dcdeb359be26d3869f82e6e3748b

12 years agoIntegreate surfacetexture test into our continuous test framework.
Xia Wang [Wed, 31 Aug 2011 01:48:11 +0000 (18:48 -0700)]
Integreate surfacetexture test into our continuous test framework.

Change-Id: Ic481f3a431166851947676d676749543c7afbbf7

12 years agoMerge "Accessors for frame count and duration."
Jeff Sharkey [Wed, 31 Aug 2011 02:54:34 +0000 (19:54 -0700)]
Merge "Accessors for frame count and duration."

12 years agoMerge "fix Surface positions are not floats"
Mathias Agopian [Wed, 31 Aug 2011 02:24:04 +0000 (19:24 -0700)]
Merge "fix Surface positions are not floats"

12 years agoMerge "fix display artifacts in preview screen in timelapse video mode"
Mathias Agopian [Wed, 31 Aug 2011 02:00:15 +0000 (19:00 -0700)]
Merge "fix display artifacts in preview screen in timelapse video mode"

12 years agofix Surface positions are not floats
Mathias Agopian [Wed, 31 Aug 2011 01:51:54 +0000 (18:51 -0700)]
fix Surface positions are not floats

Added Surface.setPosition(float, float) which allows to set a surface's
position in float.

Bug: 5239859
Change-Id: I903aef4ad5b5999142202fb8ea30fe216d805711

12 years agoRemoteControlClient metadata: add method for metadata of long type
Jean-Michel Trivi [Tue, 30 Aug 2011 23:52:05 +0000 (16:52 -0700)]
RemoteControlClient metadata: add method for metadata of long type

Update to the RemoteControlClient.Editor API:
 - new method for setting metadata of type long
 - methods for setting metadata throw an exception if using
    the wrong key with the wrong method.

Note that this change will cause the Music2 application to
 throw an exception when it tries to set the duration as a string.

Change-Id: I17cff86467851a0aff313c07653e752ae6b6180f

12 years agoMerge "Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED"
Christopher Tate [Wed, 31 Aug 2011 01:34:30 +0000 (18:34 -0700)]
Merge "Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED"

12 years agoProperly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED
Christopher Tate [Tue, 16 Aug 2011 23:06:53 +0000 (16:06 -0700)]
Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED

Certain kinds of application update generate this broadcast regime rather
than the REMOVE / ADD sequence that results from e.g. using the -r option
when invoking 'adb install'.

We also push the agent classname lookup to the last moment before
actually running the backup, rather than caching it as part of the
record of what apps need a backup pass in the future.  This was causing
a bug in which a package reinstall that renamed the app's agent class
would wind up with a crash at backup time, trying to load the wrong
class.

Fixes bug 5156094 / bug 4308977

Change-Id: I4e3e12d86e6ee40809f14fd12ab762116dbee0b5

12 years agoRevert to version 2.51 of DroidSansFallback.ttf
Bart Sears [Wed, 31 Aug 2011 01:14:15 +0000 (18:14 -0700)]
Revert to version 2.51 of DroidSansFallback.ttf

Version 2.53 of DroidSansFallback.ttf included:
    1) Currency: \u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u17DB\u20B6-\u20B9
       \uA838\uFDFC
    2) Geometric right arrow: \u25BA
    3) CJK Ext A (about 6000 Simplified Chinese Glyphs)

Item 3 (the ~6000 Simplified Chinese Glyphs) increased the file size by
about 1.6M.  To reduce ROM pressure, we are reverting back to version
2.51.  Version 2.53 has been renamed to DroidSansFallbackFull.ttf and is
available for builds that have enough ROM space.  We are generating a
new version of DroidSansFallback.ttf that has items 1 and 2 and not 3 and
will update DroidSansFallback.ttf once we have that version.

Bug: 5239728
Change-Id: I7467109a9ffec452446a636d35a3befffff09f10

12 years agoMerge "Ellipsize marquee TextViews that aren't currently animating"
Adam Powell [Wed, 31 Aug 2011 00:40:40 +0000 (17:40 -0700)]
Merge "Ellipsize marquee TextViews that aren't currently animating"

12 years agoEllipsize marquee TextViews that aren't currently animating
Adam Powell [Tue, 30 Aug 2011 23:51:11 +0000 (16:51 -0700)]
Ellipsize marquee TextViews that aren't currently animating

On some devices the fading edge effect can be expensive. Offer an
alternative for screens full of textviews.

Change-Id: I0382b4ea0f8b0c6948cb68611f3679dbf5e2898a

12 years agoFix a crash where the EOS was signalled but some output buffer were still pending.
James Dong [Wed, 31 Aug 2011 00:06:10 +0000 (17:06 -0700)]
Fix a crash where the EOS was signalled but some output buffer were still pending.

Change-Id: Ide111264501441b51bb10629ae2021accf9e1fb5
related-to-bug: 5234126

12 years agoMerge "Pick up device configuration "device.internal = 0". Before, only "device.inter...
Jeff Brown [Wed, 31 Aug 2011 00:03:37 +0000 (17:03 -0700)]
Merge "Pick up device configuration "device.internal = 0". Before, only "device.internal = 1" had an effect."

12 years agoAccessors for frame count and duration.
Jeff Sharkey [Tue, 30 Aug 2011 23:42:23 +0000 (16:42 -0700)]
Accessors for frame count and duration.

Bug: 5233703
Change-Id: If6a758540248dc9bff56b64add04984ebd7b6833

12 years agoATSParser now supports a mode in which PTS is considered to be absolute time
Andreas Huber [Tue, 30 Aug 2011 23:06:28 +0000 (16:06 -0700)]
ATSParser now supports a mode in which PTS is considered to be absolute time

i.e. PTS 0 <=> media time 0

Change-Id: If10a0f98c129b95e8430dc419664b1def92e547e

12 years agoMerge "CDMALTE: Start reading SIM record on SIM_READY"
Wink Saville [Tue, 30 Aug 2011 23:05:04 +0000 (16:05 -0700)]
Merge "CDMALTE: Start reading SIM record on SIM_READY"

12 years agoMerge "Add EditTextShortcutSpan to provide edit short cut in the text view."
Gilles Debunne [Tue, 30 Aug 2011 22:53:33 +0000 (15:53 -0700)]
Merge "Add EditTextShortcutSpan to provide edit short cut in the text view."

12 years agoMerge "Fix issues #5233826 and #5209847 -- live wallpapers."
Dianne Hackborn [Tue, 30 Aug 2011 22:47:17 +0000 (15:47 -0700)]
Merge "Fix issues #5233826 and #5209847 -- live wallpapers."

12 years agoMerge "Updated action bar/CAB assets Bug: 5156319 5076695"
Justin Ho [Tue, 30 Aug 2011 22:42:26 +0000 (15:42 -0700)]
Merge "Updated action bar/CAB assets Bug: 5156319 5076695"

12 years agofix display artifacts in preview screen in timelapse video mode
Mathias Agopian [Tue, 30 Aug 2011 22:02:41 +0000 (15:02 -0700)]
fix display artifacts in preview screen in timelapse video mode

We were not updating the h/w composer state when the buffer size
changed.

We also didn't update the h/w composer state when the transformation
matrix changed (which is related to the above issue, since it would
probably change when the buffer size changes).

Also moved updating the crop to setGeometry(), since we decided
that the "crop" change requires the GEOMETRY_CHANGED flag (ie:
not need to do this every frame)

Bug: 5238473

Change-Id: Ia7b47e145b48581b568d89d9aa2c14ff778be862

12 years agoMerge "Bug 5045498 Force display update when display registers"
Jean-Michel Trivi [Tue, 30 Aug 2011 22:14:12 +0000 (15:14 -0700)]
Merge "Bug 5045498 Force display update when display registers"

12 years agoMerge "Fix JNI for warning about failure to unlink DeathRecipients"
Christopher Tate [Tue, 30 Aug 2011 22:09:54 +0000 (15:09 -0700)]
Merge "Fix JNI for warning about failure to unlink DeathRecipients"

12 years agoMerge "SIP: add the check for expiry time in Contact header."
Chia-chi Yeh [Tue, 30 Aug 2011 22:02:59 +0000 (15:02 -0700)]
Merge "SIP: add the check for expiry time in Contact header."

12 years agoFix bug #5233207 android.graphics.cts.PaintTest#testBreakText fails on IRK56F trygon...
Fabrice Di Meglio [Tue, 30 Aug 2011 01:38:27 +0000 (18:38 -0700)]
Fix bug #5233207 android.graphics.cts.PaintTest#testBreakText fails on IRK56F trygon-userdebug

- Paint.breakText() API was regressing on the argument validation: a count < 0 is a valid one

Change-Id: I6d09294ee9f21901ba00017ce0d73f757fc7b147

12 years agoFix issues #5233826 and #5209847 -- live wallpapers.
Dianne Hackborn [Tue, 30 Aug 2011 21:06:51 +0000 (14:06 -0700)]
Fix issues #5233826 and #5209847 -- live wallpapers.

5233826 when a live wallpaper starts, it does so regardless of its visibility

The WallpaperService is now very forceful about telling a wallpaper it is
not visible when it first starts.

5209847 Make launcher turn off the wallpaper in all apps.

Fix a bug in the window manager that would not correctly handle the wallpaper
flag changing.

Change-Id: Ie3314043a84664be72a1304a1705408efd789a15

12 years agoBug 5045498 Force display update when display registers
Jean-Michel Trivi [Tue, 30 Aug 2011 17:52:59 +0000 (10:52 -0700)]
Bug 5045498 Force display update when display registers

When an IRemoteControlDisplay registers, cause the
 RemoteControlClient to send all its information to the newly
 registered display.
The previous code was only sending a request for update: this
 request didn't here cause the client to send the data because
 a new client generation had not been synchronized among clients
 and displays.
This CL uses the same code path to force an update as when audio
 focus changes, or a new client registers, by calling the same
 method that is called in those cases,
 updateRemoteControlDisplay_syncRcs(flags).
Also in this CL: more method renames to indicate methods that
 are called synchronized on mRCStack.

Change-Id: I54102f45ba1cd4812d958ecd883bec7bc45ae88f

12 years agoMerge "Text would disappear when the font size is 75px. Bug #5230196"
Romain Guy [Tue, 30 Aug 2011 21:43:06 +0000 (14:43 -0700)]
Merge "Text would disappear when the font size is 75px. Bug #5230196"

12 years agoText would disappear when the font size is 75px.
Romain Guy [Tue, 30 Aug 2011 21:41:48 +0000 (14:41 -0700)]
Text would disappear when the font size is 75px.
Bug #5230196

Yes, 75px. Any other font size would work. Don't ask.

Change-Id: I96c7db9926a97f65128d60c8238c3640ee2444ba

12 years agoPick up device configuration "device.internal = 0". Before, only "device.internal...
Max Braun [Tue, 30 Aug 2011 21:35:45 +0000 (14:35 -0700)]
Pick up device configuration "device.internal = 0". Before, only "device.internal = 1" had an effect.

Change-Id: Ie88ed66e0841418c147bed2e23806405bdd17ad6

12 years agoMerge changes I33f59705,Ia4c8c822,I2fb695ab,I2e587afc
Jamie Gennis [Tue, 30 Aug 2011 21:38:56 +0000 (14:38 -0700)]
Merge changes I33f59705,Ia4c8c822,I2fb695ab,I2e587afc

* changes:
  MediaDump: use the MediaPlayer#setSurface method
  HTML5VideoView: switch to MediaPlayer#setSurface
  MediaPlayer: unhide the setSurface method
  Surface: unhide the SurfaceTexture ctor

12 years agoUpdated action bar/CAB assets
Justin Ho [Tue, 30 Aug 2011 21:08:52 +0000 (14:08 -0700)]
Updated action bar/CAB assets
Bug: 5156319 5076695

Change-Id: If80d0bf0d3ca4d6bf22ef6231380c07f73fe966b

12 years agoFix JNI for warning about failure to unlink DeathRecipients
Christopher Tate [Tue, 30 Aug 2011 19:09:43 +0000 (12:09 -0700)]
Fix JNI for warning about failure to unlink DeathRecipients

We now (a) use the right Class getName() method, and (b) look it
up once at setup time rather than doing that lookup every time we
want to emit the warning.  Verified to work properly and no longer
crash or throw or otherwise complain.

Change-Id: If0767f8845588ba7f34bac21474f4e2ad5c111d6

12 years agoSIP: add the check for expiry time in Contact header.
Chia-chi Yeh [Tue, 30 Aug 2011 20:58:35 +0000 (13:58 -0700)]
SIP: add the check for expiry time in Contact header.

There can be three expiry times in the same message header. We
choose the smaller value in Expires header and Contact header,
and then we obey the value defined in Min-Expires header. If
none of them is set, the default value is used.

Bug: 5178284

Change-Id: Ie9d4a48c93863e82e5197bb4a0db3f4fec56857c

12 years agoMerge "Use the local timezone for CDMA SMS timestamps."
Jake Hamby [Tue, 30 Aug 2011 20:45:30 +0000 (13:45 -0700)]
Merge "Use the local timezone for CDMA SMS timestamps."

12 years agoMerge "Fix bug #5197549 android.text.cts.StaticLayoutTest#testGetEllipsisCount fails...
Fabrice Di Meglio [Tue, 30 Aug 2011 20:42:34 +0000 (13:42 -0700)]
Merge "Fix bug #5197549 android.text.cts.StaticLayoutTest#testGetEllipsisCount fails on IRK49E mysid-userdebug"

12 years agoMerge "Fix 5233681,5230897: Minor tweaks to lockscreen layout on tablets."
Jim Miller [Tue, 30 Aug 2011 20:29:24 +0000 (13:29 -0700)]
Merge "Fix 5233681,5230897: Minor tweaks to lockscreen layout on tablets."

12 years agoMerge "Profile API modifications."
Dave Santoro [Tue, 30 Aug 2011 20:12:50 +0000 (13:12 -0700)]
Merge "Profile API modifications."

12 years agoMerge "Remove unnecessary parenthesees in "No service" lock screen string. Bug: 5221160"
Claudia de Veaux [Tue, 30 Aug 2011 18:05:31 +0000 (11:05 -0700)]
Merge "Remove unnecessary parenthesees in "No service" lock screen string. Bug: 5221160"

12 years agoMerge "226483: A2DP connected, but music out to speaker"
Eric Laurent [Tue, 30 Aug 2011 17:51:54 +0000 (10:51 -0700)]
Merge "226483: A2DP connected, but music out to speaker"

12 years agoFix SurfaceMediaSource timestamp handling.
Eino-Ville Talvala [Tue, 30 Aug 2011 01:16:03 +0000 (18:16 -0700)]
Fix SurfaceMediaSource timestamp handling.

Was not basing timestamps on startTimeUs.
Now synchronizes properly with audio.

Bug: 4510826
Change-Id: I613db0aa91e51fc75d120e65540e742d8ab2ae43

12 years agoChange the heuristics for waiting for audiotracks to finish.
Narayan Kamath [Tue, 30 Aug 2011 12:53:34 +0000 (13:53 +0100)]
Change the heuristics for waiting for audiotracks to finish.

This is made necessary by a bug when the utterance is smaller
than the audio buffer size. In that case, we call stop() to
flush the audio to the mixer, but that causes the playstate to
be set to stopped though some audio is still being mixed. This
breaks our waiting loop.

We now wait a fixed amount of time for such short utterances
and do not observe the playback head position.

bug:5220048
Change-Id: Ic81dec751c1faca0b14164caeda6305c8f9815fe

12 years agocherrypick Change-Id: I2ff5eb2a8e86c0ec30eba4d904221b2e5384d05a
Scott Main [Tue, 30 Aug 2011 17:27:58 +0000 (10:27 -0700)]
cherrypick Change-Id: I2ff5eb2a8e86c0ec30eba4d904221b2e5384d05a
docs: fix ndk filename

Change-Id: I7de46a11733bc262aaba61346d334de555408c85

12 years agocherrypick Change-Id: If9ee878fcd7e2ef3161edf58dc3ac98ed9399ea5
Scott Main [Tue, 30 Aug 2011 16:35:40 +0000 (09:35 -0700)]
cherrypick Change-Id: If9ee878fcd7e2ef3161edf58dc3ac98ed9399ea5
docs: add ndk r6b sums and sizes

Change-Id: I6a72bc2b3c21115208b067a8246b9aa7e70b8738

12 years agocherrypick Change-Id: I52ed6e5a97f32d2395cf171009b0b650268cac4e
Robert Ly [Tue, 23 Aug 2011 17:47:28 +0000 (10:47 -0700)]
cherrypick Change-Id: I52ed6e5a97f32d2395cf171009b0b650268cac4e
docs: ndk r6b rel notes

Change-Id: I3512f11370ddbfbe6c70efe59f216b5c4ea84ae7

12 years ago226483: A2DP connected, but music out to speaker
Eric Laurent [Tue, 30 Aug 2011 17:18:54 +0000 (10:18 -0700)]
226483: A2DP connected, but music out to speaker

When the A2DP headset is connected, there is a possible
race condition when the audio tracks are moved from
the mixer thread attached to the speaker output to the thread
attached to A2DP output.
As the request to clear the stream type to output mapping cache in
the client process is asynchronous, it is possible that the flag
indicating to the client audio track to re-create the IAudioTrack
on the new thread is processed before the cache is invalidated.
In this case, the track will be attached to the old thread and
music will continue playing over the device speaker instead of being
redirected to A2DP headset.

Change-Id: Ib2ce1eb5320eaff83287b93779061bf4e7a330df