It needs to open files using absolute path, not relative path.
Bug: 128782519
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I173b7b5dcb3c351b8554547e89e5441f9bdb19d1
Set mRunID parameter when adding cue to the list because of
mRunID value depends if past cues are removed from the list
during active cues update. Keeping past cues on the list makes
it possible to find and set proper active cue after seeking
backward.
Bug: 68034458
Test: play video with srt subtitle and seek
Change-Id: I8439840d5925607127fadc1082913d9d91f688af
Make active device change asynchronous.
Restructure A2DP active device change API
for clarity and speed.
Merge active device and device config change
handlers.
Fix bug for a new A2DP device connection with
handleBluetoothA2dpActiveDeviceChange.
Bug: 122944517
Test: still needs Bt side using new interface
Change-Id: Ia2fa6b2c98ed4452880e8abca4a069b904f8cc68
Add a method to synchronously unregister an AudioPolicy. This method
also flushes the AudioRecord and AudioTrack instances that
were associated with any AudioMix created by this policy.
Bug: 119057550
Test: see bug
Change-Id: Ia58ccdaf8a50580bcdd49aa2f6e204f0f6c7f814
This CL reverts the API change introduced by
"1dfec66: Make hidden constructor of PlaybackInfo as @SystemApi"
Bug: 128245348
Test: atest CtsMediaTestCases:android.media.cts.MediaSessionTest;
atest CtsMediaTestCases:android.media.cts.MediaControllerTest;
atest CtsMediaTestCases:android.media.cts.MediaBrowserTest;
Change-Id: I6deeb048d6d209baa085792edf5ef2fdd8bb1d7c
This CL reverts API changes which were introduced by below CLs:
- "761c475: AML: Make config_mediaMetadataBitmapMaxSize as @SystemApi"
- "888b791: Make AudioManager.FLAG_FROM_KEY as @SystemApi"
- "3d1353a: AML: Unhide KeyEvent.isMediaSessionKey()"
Bug: 128245348
Test: atest CtsMediaTestCases:android.media.cts.MediaSessionTest;
atest CtsMediaTestCases:android.media.cts.MediaControllerTest;
atest CtsMediaTestCases:android.media.cts.MediaBrowserTest;
Change-Id: I263a958bf340336f699adb28424241fd00e46e28
This CL adds Javadoc for clarifying the relationship between the
framework and AndroidX versions of ExifInterface.
Bug: 122276930
Test: N/A
Change-Id: I096a7322348046662f02b07c98956dad7501a1cf
This CL fixes the previous implementation which stored the current
position of the file instead of the offset to the next IFD.
Bug: 63800695
Test: Run test file with malformatted thumbnail data
Change-Id: Iab5b9a1a8203e8de1027ecfb887e4f504a27151e
Make PlayerBase / PlayerProxy volume control act as a multiplier,
not as an override of the volume set by the subclass
Bug: 78930229
Test: see test app in bug
Change-Id: I4c189425282c1a709648e0be14791c3382e83e82
That allows better integration with tools and Kotlin.
Test: atest android.media.cts.AudioPlaybackCaptureTest
Bug: 126700282
Change-Id: I921d0b5580ad861c732f7b076142968e4da9989c
Signed-off-by: Kevin Rocard <krocard@google.com>
This method was only in docs, not in implementation, and
was never meant to be used by applications.
Bug: 126701135
Bug: 126702126
Bug: 126702177
Test: javap --class-path prebuilts/sdk/28/public/android.jar 'android.media.MediaPlayer' | grep deprecateStreamTypeForPlayback
Change-Id: I0417f4e2523889259536a9f66f20167886cac790