Mikhail Naganov
29f479d502
Merge "Add audio presentation interface to Java API"
2018-02-01 16:46:07 +00:00
TreeHugger Robot
899715b9d7
Merge changes from topics "mediasession2_libraryroot", "mediasession2_commandbutton", "medianotification_updatable"
...
* changes:
MediaSession2: Rename BrowserRoot to LibraryRoot and move to updatable
MediaSession2: Move MediaSession2.CommandButton to updatable
MediaSession2: Move MediaSessionService2.MediaNotification to updatable
2018-02-01 11:46:13 +00:00
Jaewan Kim
ac9edc37db
MediaSession2: Rename BrowserRoot to LibraryRoot and move to updatable
...
Renaming was the one of the feedback from ag/3506231
Test: Run all MediaComponents tests once
Change-Id: I6499070502cd0e20ea53a1447278d680e586dec7
2018-02-01 16:56:37 +09:00
Jaewan Kim
435142badc
MediaSession2: Move MediaSession2.CommandButton to updatable
...
Bug: 72665718
Test: Run all MediaComponents test once
Change-Id: I5e6b382695b9d8c2f9634531ded32fdac438965c
2018-02-01 16:56:23 +09:00
Jaewan Kim
a7cf21b468
MediaSession2: Move MediaSessionService2.MediaNotification to updatable
...
Test: Run all MediaComponents tests once
Change-Id: Ieb38e1181f2ed9e96c3218ca0fdc3c1d13424af7
2018-02-01 16:53:55 +09:00
TreeHugger Robot
faf852539a
Merge "Support query active microphones in MediaRecorder."
2018-02-01 07:52:55 +00:00
TreeHugger Robot
23a7b8d36b
Merge "Support query active microphones information in AudioRecord."
2018-02-01 01:35:26 +00:00
TreeHugger Robot
490d323003
Merge "Add support for getting all available microphones characteristics."
2018-01-31 22:20:25 +00:00
Julia Reynolds
ce9bcc4977
Merge "Show the connected device more reliably"
2018-01-31 14:21:57 +00:00
TreeHugger Robot
2e3569d711
Merge changes from topics "move_playbackstate2", "command_code"
...
* changes:
MediaSession2: Move PlaybackState2 to updatable
MediaSession2: Polish command codes
2018-01-31 14:17:27 +00:00
Jaewan Kim
bc55661b11
Merge "MediaSession2: Hide system apis"
2018-01-31 14:12:56 +00:00
Hyundo Moon
c79d6b4fdf
MediaSession2: Move MediaController2.PlaybackInfo to updatable
...
Bug: 72716294
Test: Builds successfully
Change-Id: I6c1f7afdc49df6fe345db17fc41563a511c665e0
2018-01-31 20:55:02 +09:00
Jaewan Kim
f029ae9511
MediaSession2: Move PlaybackState2 to updatable
...
Test: Run all MediaComponents test once
Bug: 72670371
Change-Id: Ic7953bf4bb7841238dec7082d8e9d9b412775e6d
2018-01-31 17:50:26 +09:00
Hyundo Moon
196e1de5af
MediaSession2: Create VolumeProvider2
...
Bug: 72721358
Test: Builds successfully
Change-Id: Ia7eca3f92deff7ba3fd5633d94748b0b80e86104
2018-01-31 17:04:57 +09:00
Jaewan Kim
71a96f27c6
MediaSession2: Polish command codes
...
This is the preliminary step toward permission check.
Bug: 72618604
Test: Run all MediaComponents test once
Change-Id: I64679dce0c70fd322fa7819e4ba15ba52601d021
2018-01-31 17:01:13 +09:00
Sungsoo Lim
7d30e1c554
MediaSession2: Hide system apis
...
Test: build
Change-Id: I6c56c260a002086bbd2c20420b301c66635215c3
2018-01-31 15:43:55 +09:00
TreeHugger Robot
2043082f96
Merge "Move View related methods to helper class"
2018-01-31 04:48:32 +00:00
Christofer Åkersten
a6c97e4615
Move View related methods to helper class
...
Test: Instantiate MediaControlView2
Change-Id: Ia958a97b38e67f236ee510978c379af9249d2887
2018-01-31 11:27:40 +09:00
Christofer Åkersten
622b1f1b64
Move MediaSession2 builder to impl
...
Bug: 72665881
Test: runtest-MediaComponents
Change-Id: I22a299dac9d9576e4383fe9538fe696f09afaae5
2018-01-31 11:12:06 +09:00
TreeHugger Robot
4cc91d0611
Merge changes from topics "rating2_updatable", "mediasession2_playlistparams", "mediametadata2_updatable"
...
* changes:
MediaSession2: Move Rating2 to updatable
MediaSession2: Move MediaSession2.PlaylistParams to updatable
MediaSession2: Move MediaMetadata2 to updatable
2018-01-30 23:41:35 +00:00
Julia Reynolds
24cc759de9
Show the connected device more reliably
...
Test: manual
Change-Id: Ief39215321e0a283f724dd0b0cdf5b9eeab1e116
Fixes: 72494077
2018-01-30 16:56:52 -05:00
Insun Kang
dda4a8e17b
Merge "VideoView: Change showSubtitle() to get boolean parameter"
2018-01-30 15:40:35 +00:00
TreeHugger Robot
cbd5a384d7
Merge "MediaController2: Rename onAudioInfoChanged"
2018-01-30 13:19:26 +00:00
Jaewan Kim
bb6ca486d1
MediaSession2: Move Rating2 to updatable
...
Test: Run all MediaComponents tests once
Bug: 72670051
Change-Id: I5c405e34569c1ccc469dad09bbc8aad1cd7fdcf4
2018-01-30 22:13:16 +09:00
Jaewan Kim
3117c0c263
MediaSession2: Move MediaSession2.PlaylistParams to updatable
...
Bug: 72670266
Test: Run all MediaComponents tests once
Change-Id: I5bf0ae9b97f2f60baabfe05e9df893308ee8d41a
2018-01-30 22:13:05 +09:00
Jaewan Kim
f641c09772
MediaSession2: Move MediaMetadata2 to updatable
...
Bug: 72670468
Test: Run all MediaComponents test once
Change-Id: I2351f63e00a3ed6adfe5a61b995fd8143d67bb35
2018-01-30 22:12:53 +09:00
Insun Kang
4fa8064378
VideoView: Change showSubtitle() to get boolean parameter
...
- Adds VideoView2 attributes
- enableControlView
- showSubtitle (boolean)
- viewType (enum)
- surfaceView
- textureView
- showSubtitle() --> showSubtitle(boolean)
- hideSubtitle() removed.
Test: build
Change-Id: Ib21722af1c9c1caf036e047a18d27d46097e8f03
2018-01-30 21:42:58 +09:00
Hyundo Moon
a79de7da8b
MediaController2: Rename onAudioInfoChanged
...
This CL renames the controller callback method onAudioInfoChanged into
onPlaybackInfoChanged.
Bug: 72616099
Test: Builds successfully
Change-Id: I6a0059790d65b55fdb6edcab18743fd94c4bdf6c
2018-01-30 18:37:17 +09:00
TreeHugger Robot
ff3ba299ae
Merge "Make MediaSession2.CommandGroup updatable"
2018-01-30 07:58:14 +00:00
TreeHugger Robot
916cdd364c
Merge "Remove show/hide API"
2018-01-30 07:55:32 +00:00
TreeHugger Robot
11890afe54
Merge "Make MediaSession2.Command updatable"
2018-01-30 05:33:32 +00:00
Sungsoo Lim
fe46402e22
Make MediaSession2.CommandGroup updatable
...
Bug: 72665979
Test: build
Change-Id: I1ba53c0bd5eb8b72847733693f4975d53e97f2d9
2018-01-30 13:37:33 +09:00
TreeHugger Robot
37db47ddb1
Merge "AudioPolicy: fix typos"
2018-01-30 03:08:52 +00:00
Sungsoo Lim
2a981a0cb5
Make MediaSession2.Command updatable
...
Bug: 72619281
Test: build
Change-Id: I2b86b68f2d4840da76c992aac056512ac0cb2e20
2018-01-30 12:04:02 +09:00
TreeHugger Robot
0bdcee3b45
Merge "Add new secure stop methods"
2018-01-30 02:16:44 +00:00
Jin Seok Park
dde80a9cf4
Remove show/hide API
...
This CL removes the show/hide API from MediaControlView2 and instead
provides the developer with the same function by calling
setVisibility(View.VISIBLE | View.GONE), and calling the new APIs
set/getTimeout() and requestPlayButtonFocus(). The original Runnable
code has been moved to onVisibilityAggregated() as per API council's
request.
Test: build
Change-Id: If53fb8849b4e086619a9c93c85e61da70272976e
2018-01-30 10:48:10 +09:00
Jean-Michel Trivi
1b926e7ece
AudioPolicy: fix typos
...
Test: build
Change-Id: I6f99fcf23d7d154280b86c93892e0d0f9d856702
2018-01-29 16:24:27 -08:00
Jin Seok Park
0719db7681
Update MediaControlView2/Provider
...
This CL does the following 5 things:
1) REMOVE setPrevNextListener API
2) REMOVE show/hideSubtitle API
3) EXPOSE Command related strings as public
4) CHANGE time parameter in show(timeout) from integer to long
5) CHANGE setButtonVisibility(visible) parameter from boolean to int
All changes are based on API review.
Test: build
Change-Id: Ia6ffb454100be6a2f75a145e9d6a87bd88faac0c
2018-01-29 22:53:09 +00:00
TreeHugger Robot
4705e590a1
Merge "MediaPlayer2: allow multiple EventCallback's"
2018-01-29 22:22:30 +00:00
Jean-Michel Trivi
975f900f22
Merge "Add support for external volume handler of volume adjustements"
2018-01-29 21:58:51 +00:00
Wei Jia
63f793f0f3
MediaPlayer2: allow multiple EventCallback's
...
Test: MediaPlayer2 plays
Bug: 63934228
Change-Id: Ie1be29c10d73126d9ebdad8358110ba507a034d5
2018-01-29 11:20:03 -08:00
Jean-Michel Trivi
610aa9b416
Add support for external volume handler of volume adjustements
...
For devices that use the config_handleVolumeKeysInWindowManager
configuration, add API to receive volume key-related events
directly, without them being processed by the framework
(already not received by apps).
Bug: b/63906162
Test: set config_handleVolumeKeysInWindowManager, use
"adb shell dumpsys audio" to verify adjustVolume methods aren't
logged
Change-Id: I432b14fa9980764d69077b9f1b23b8c95f30814d
2018-01-29 09:39:10 -08:00
Hyundo Moon
15fe634246
MediaSession2/Controller2: Add playlist support
...
This CL does the following:
- Removes PlaylistParams argument from all playlist related methods.
(i.e. setPlaylist(List, PlaylistParams) becomes setPlaylist(List))
- Adds methods (to/fromBundle, to/fromBundleList) into MediaItem2.
Bug: 72537268
Test: Passed MediaSession2Test
Change-Id: I48ef69ad2728fb7de7efab10f4e077aec552dd0b
2018-01-29 22:51:56 +09:00
Jaewan Kim
44fec2d66c
MediaSession2: Simplify constructor of SessionToken2
...
Test: Run all MediaComponents tests once
Change-Id: Ic99d5916d354815a57fe37d04dfeb625c493076d
2018-01-29 22:43:13 +09:00
Jaewan Kim
c599ba36e3
MediaSession2: Move binder interfaces into the updatable
...
Test: Run all MediaComponents tests once
Change-Id: I29a7aa9d649ea212ad4728ebabff40ec0d47ecb1
2018-01-29 22:43:06 +09:00
Jaewan Kim
6d959eaaf0
MediaSession2: Move MediaItem2 to updatable
...
Bug: 72627815
Test: Run all MediaComponents test once
Change-Id: Iced94541233145b928e480f3d062a64cc0814a26
2018-01-29 22:43:02 +09:00
Jaewan Kim
a70b3e570c
MediaSession2: Implements sendCustomCommand()
...
Bug: 72543316
Test: Run all MediaComponents tests once
Change-Id: Iad4fff6d6d41fb39f632735244cc7ecbec93fa0f
2018-01-29 22:42:43 +09:00
TreeHugger Robot
650fa8579e
Merge "MediaController2: Implement get/setPlaylistParams"
2018-01-29 09:53:07 +00:00
Hyundo Moon
f6a39e4906
MediaController2: Implement get/setPlaylistParams
...
Bug: 72537520
Test: Passed MediaController2Test
Change-Id: If9b3107084f3f4b063967f079bf229bb43b95cbd
2018-01-29 16:45:02 +09:00
TreeHugger Robot
00715bc435
Merge changes from topic "session2_playlist_add_remove"
...
* changes:
MediaSession2: Add listeners for change in session token
MediaSession2: Add from add/remove an item from playlist
2018-01-29 07:16:34 +00:00