OSDN Git Service
Eric Laurent [Wed, 31 Aug 2011 19:59:28 +0000 (12:59 -0700)]
Merge "Change condition to enter silent mode."
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"
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
Adam Powell [Wed, 31 Aug 2011 18:42:02 +0000 (11:42 -0700)]
Merge "Fix 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
Irfan Sheriff [Wed, 31 Aug 2011 18:35:45 +0000 (11:35 -0700)]
Merge "Remove persistent behavior"
Irfan Sheriff [Wed, 31 Aug 2011 18:35:26 +0000 (11:35 -0700)]
Merge "Reload STA firmware on start"
Jeff Sharkey [Wed, 31 Aug 2011 18:32:22 +0000 (11:32 -0700)]
Merge "More robust check around TelephonyManager init."
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"
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
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."
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
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"
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
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
Irfan Sheriff [Wed, 31 Aug 2011 17:07:59 +0000 (10:07 -0700)]
Reload STA firmware on start
Bug:
5242253
Change-Id: If8e07bc96b46a0e5022cc9d12191de2e4dbec212
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
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"
Justin Ho [Wed, 31 Aug 2011 16:36:03 +0000 (09:36 -0700)]
Merge "Fixing formatting, removing tabs"
Justin Ho [Wed, 31 Aug 2011 16:33:04 +0000 (09:33 -0700)]
Fixing formatting, removing tabs
Change-Id: I3b3254ae96d8375f1b5029e96db94a551304420f
Xia Wang [Wed, 31 Aug 2011 16:26:34 +0000 (09:26 -0700)]
Merge "Integreate surfacetexture test into our continuous test framework."
Jean-Michel Trivi [Wed, 31 Aug 2011 16:11:42 +0000 (09:11 -0700)]
Merge "RemoteControlClient metadata: add method for metadata of long type"
satok [Wed, 31 Aug 2011 15:43:59 +0000 (08:43 -0700)]
Merge "Add a comment for setAdditionalInputMethodSubtypes"
satok [Wed, 31 Aug 2011 14:27:39 +0000 (23:27 +0900)]
Add a comment for setAdditionalInputMethodSubtypes
Change-Id: I3a19471b80a6f8a68473cba6f0fc934bd052af10
satok [Wed, 31 Aug 2011 12:57:19 +0000 (05:57 -0700)]
Merge "Add a functionality to disable the spell checker"
satok [Wed, 31 Aug 2011 12:26:04 +0000 (21:26 +0900)]
Fix crash in setAdditionalInputMethodSubtypes
Bug:
5142455
Change-Id: I5eca4c1a3d9a964db04c819fc671670ef1b81817
satok [Wed, 31 Aug 2011 12:15:17 +0000 (21:15 +0900)]
Add a functionality to disable the spell checker
Change-Id: I1c2292f457d1911c149d594c175e638c92ad3917
satok [Wed, 31 Aug 2011 11:43:36 +0000 (04:43 -0700)]
Merge "Fix 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
Narayan Kamath [Wed, 31 Aug 2011 10:53:03 +0000 (03:53 -0700)]
Merge "Change the heuristics for waiting for audiotracks to finish."
satok [Wed, 31 Aug 2011 09:57:23 +0000 (02:57 -0700)]
Merge "Improve 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
satok [Wed, 31 Aug 2011 09:03:21 +0000 (18:03 +0900)]
Fix set additional subtypes.
Bug:
5102787
Change-Id: Ic38db8c33b6496a083e8158cd79fb54c21187b04
satok [Wed, 31 Aug 2011 07:49:39 +0000 (00:49 -0700)]
Merge "Fix 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
Jeff Sharkey [Wed, 31 Aug 2011 05:51:00 +0000 (22:51 -0700)]
Merge "Disable 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
Xia Wang [Wed, 31 Aug 2011 01:48:11 +0000 (18:48 -0700)]
Integreate surfacetexture test into our continuous test framework.
Change-Id: Ic481f3a431166851947676d676749543c7afbbf7
Jeff Sharkey [Wed, 31 Aug 2011 02:54:34 +0000 (19:54 -0700)]
Merge "Accessors for frame count and duration."
Mathias Agopian [Wed, 31 Aug 2011 02:24:04 +0000 (19:24 -0700)]
Merge "fix Surface positions are not floats"
Mathias Agopian [Wed, 31 Aug 2011 02:00:15 +0000 (19:00 -0700)]
Merge "fix display artifacts in preview screen in timelapse video mode"
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
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
Christopher Tate [Wed, 31 Aug 2011 01:34:30 +0000 (18:34 -0700)]
Merge "Properly 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
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
Adam Powell [Wed, 31 Aug 2011 00:40:40 +0000 (17:40 -0700)]
Merge "Ellipsize 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
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."
Jeff Sharkey [Tue, 30 Aug 2011 23:42:23 +0000 (16:42 -0700)]
Accessors for frame count and duration.
Bug:
5233703
Change-Id: If6a758540248dc9bff56b64add04984ebd7b6833
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
Wink Saville [Tue, 30 Aug 2011 23:05:04 +0000 (16:05 -0700)]
Merge "CDMALTE: Start reading SIM record on SIM_READY"
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."
Dianne Hackborn [Tue, 30 Aug 2011 22:47:17 +0000 (15:47 -0700)]
Merge "Fix issues #
5233826 and #
5209847 -- live wallpapers."
Justin Ho [Tue, 30 Aug 2011 22:42:26 +0000 (15:42 -0700)]
Merge "Updated action bar/CAB assets Bug:
5156319 5076695"
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
Jean-Michel Trivi [Tue, 30 Aug 2011 22:14:12 +0000 (15:14 -0700)]
Merge "Bug
5045498 Force display update when display registers"
Christopher Tate [Tue, 30 Aug 2011 22:09:54 +0000 (15:09 -0700)]
Merge "Fix JNI for warning about failure to unlink DeathRecipients"
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."
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
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
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
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"
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
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
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
Justin Ho [Tue, 30 Aug 2011 21:08:52 +0000 (14:08 -0700)]
Updated action bar/CAB assets
Bug:
5156319 5076695
Change-Id: If80d0bf0d3ca4d6bf22ef6231380c07f73fe966b
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
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
Jake Hamby [Tue, 30 Aug 2011 20:45:30 +0000 (13:45 -0700)]
Merge "Use the local timezone for CDMA SMS timestamps."
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"
Jim Miller [Tue, 30 Aug 2011 20:29:24 +0000 (13:29 -0700)]
Merge "Fix
5233681,
5230897: Minor tweaks to lockscreen layout on tablets."
Dave Santoro [Tue, 30 Aug 2011 20:12:50 +0000 (13:12 -0700)]
Merge "Profile API modifications."
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"
Eric Laurent [Tue, 30 Aug 2011 17:51:54 +0000 (10:51 -0700)]
Merge "226483: A2DP connected, but music out to speaker"
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
Scott Main [Tue, 30 Aug 2011 17:27:58 +0000 (10:27 -0700)]
cherrypick Change-Id: I2ff5eb2a8e86c0ec30eba4d904221b2e5384d05a
docs: fix ndk filename
Change-Id: I7de46a11733bc262aaba61346d334de555408c85
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
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
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
Tsu Chiang Chuang [Tue, 30 Aug 2011 17:12:44 +0000 (10:12 -0700)]
Merge "Adding bandwidth enforcement test app."
Luca Zanolin [Tue, 30 Aug 2011 17:04:34 +0000 (18:04 +0100)]
Add EditTextShortcutSpan to provide edit short cut in the text view.
At the moment, EditTextShortcutSpan allows only the deletion of the text. In the future, we may decide to add extra functionality,
like "retry" where all the text is removed and a specific IME is triggered.
Fix the underline. The underline is not defined in thickness, and not as a multiplier of the default underline thickness.
Change the behaviour of SuggestionRangeSpan to match the specification.
Change-Id: I80437d9887c7a2ff8f62c38afbb0cb7add7ee9c8
Narayan Kamath [Tue, 30 Aug 2011 16:52:06 +0000 (09:52 -0700)]
Merge "Don't allow TTS engines to synthesize too for ahead."
Gilles Debunne [Tue, 30 Aug 2011 16:46:30 +0000 (09:46 -0700)]
Merge "Moving action popup window when moving text selection"
Gilles Debunne [Tue, 30 Aug 2011 16:45:46 +0000 (09:45 -0700)]
Merge "Bug
5218421: new NPE is SpellChecker when using Japanese language"
Jean-Michel Trivi [Tue, 30 Aug 2011 16:06:36 +0000 (09:06 -0700)]
Merge "Bug
5156756 Fix AAC ADTS header size computation"
Mike Lockwood [Tue, 30 Aug 2011 15:46:18 +0000 (08:46 -0700)]
Merge "Extinguish notification LED when user passes through lock screen"
Mike Lockwood [Tue, 30 Aug 2011 13:55:30 +0000 (09:55 -0400)]
Extinguish notification LED when user passes through lock screen
Also do not blink for notifications received when the screen is on.
Bug:
5233071
Change-Id: I15675ca317007d4b900ef74e60d11a5bca3d7333
Signed-off-by: Mike Lockwood <lockwood@android.com>
Svetoslav Ganov [Tue, 30 Aug 2011 05:09:56 +0000 (22:09 -0700)]
Merge "Adding accessibility support to the slide lock screen"
Svetoslav Ganov [Sat, 27 Aug 2011 03:12:02 +0000 (20:12 -0700)]
Adding accessibility support to the slide lock screen
bug:
5210233
Change-Id: I93e876524ae6aaf75aadbe6a21c5c17d41a705f0
Jim Miller [Tue, 30 Aug 2011 03:43:12 +0000 (20:43 -0700)]
Fix
5233681,
5230897: Minor tweaks to lockscreen layout on tablets.
- Remove negative padding required by old font which is no longer
required by the new clock font.
- Change brightness of AM/PM indicator to white.
Change-Id: I10540a2976a47014e535f958e07d1c61fa0d8d41
Rajneesh Chowdury [Tue, 30 Aug 2011 03:43:11 +0000 (20:43 -0700)]
Merge "
5106773 Can't export a movie - Error returned from OMX API in ducati"
Rajneesh Chowdury [Tue, 30 Aug 2011 03:16:22 +0000 (20:16 -0700)]
5106773 Can't export a movie - Error returned from OMX API in ducati
Video Editor engine wrongly set the profile in place of level.
So level was always 1 (default value for Profile)
Change-Id: I202f866d32e81869d9692174d59d9d777a772282
Jeff Sharkey [Tue, 30 Aug 2011 03:00:12 +0000 (20:00 -0700)]
Merge "Introduce immediate CONNECTIVITY_ACTION variant."
Jean-Michel Trivi [Mon, 29 Aug 2011 21:06:51 +0000 (14:06 -0700)]
Bug
5156756 Fix AAC ADTS header size computation
This previous frame size computation code had two incorrect
assumptions:
1/ the ADTS frame length value already contains the header size
2/ the ADTS header is not of fixed size: it is 2 bytes bigger
if it contains the CRC value.
For 1/, the code worked because when the header size was added
to the frame size, the + operator is of stronger precedence
than the ? operator, so the size added was always 0 (instead
of ADTS_HEADER_LENGTH.
For 2/, the code worked as long as there was no CRC in the ADTS
data.
The fix consists in:
- documenting what the frame length computation code returns
- fixing the frame length computation
- when computing the frame length, also returning the header
size so the correct data can be sent to the decoder.
Change-Id: I92df72a9e531f594f762e63d62f9dee7b0109904
Dianne Hackborn [Tue, 30 Aug 2011 01:40:21 +0000 (18:40 -0700)]
Merge "Fix issues
5158104 and
4981556 (fragment problems)"
Jim Miller [Tue, 30 Aug 2011 01:30:44 +0000 (18:30 -0700)]
Merge "Fix
5044158: Integrate music transport control into LockScreen"
Jim Miller [Tue, 9 Aug 2011 05:27:58 +0000 (22:27 -0700)]
Fix
5044158: Integrate music transport control into LockScreen
This integrates a new version of TransportControlView into LockScreen
and adds plumbing to handle new AudioService events to show/hide the view
and updates the required assets for all devices.
Updated to use new AudioManager API. Since the current API only supports
one RCD, the handler now lives in TransportControlView.
Change-Id: I220d4dd760bef35bd84209adc3c5829bf5bc9a2c
Christopher Tate [Tue, 30 Aug 2011 01:11:38 +0000 (18:11 -0700)]
Merge "Un-hide the new BackupAgent.onFullBackup() API"
Dianne Hackborn [Mon, 29 Aug 2011 23:53:49 +0000 (16:53 -0700)]
Fix issues
5158104 and
4981556 (fragment problems)
5158104: com.android.contacts: java.lang.IllegalStateException:
Can not perform this action after onSaveInstanceState at
android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1201)
The ViewPager can just commit without worrying about a state loss,
since it can correctly reconstruct its state later.
4981556: Fragment.mImmediateActivity doesn't get restored on orientation change
I am giving up on this thing; I just don't see how it can actually
be correct. So now instead of getting an exception about a dup
add/remove at point of the add/remove call, this will happen later when
processing the transaction.
Also add an API for controlling the visibility of menus, which ViewPager
can use to have the correct menus shows. And add a method to get the
name of a back stack entry.
Change-Id: Idcba14cfa2a172545a7a2a2c466cb49ceb789619