Jaewan Kim
3a1db72b2a
Merge "MediaSession2: Revisit command code" into pi-dev am: ec0ab63ccb
...
am: 35aec5356e
Change-Id: I77bee1479944a701cdf18ec8ca52bddda21a4727
2018-03-26 11:31:23 +00:00
Jaewan Kim
d21b33d8ca
Merge "MediaSession2: Change return type of CommandGroup#getCommands()" into pi-dev
2018-03-26 10:55:30 +00:00
Jaewan Kim
449e358fea
Merge "MediaMetadata2: Remove radio constants" into pi-dev
2018-03-26 10:53:24 +00:00
Jaewan Kim
ec0ab63ccb
Merge "MediaSession2: Revisit command code" into pi-dev
2018-03-26 10:52:22 +00:00
Jaewan Kim
c3f3d4229e
Merge "MediaSession2: Add CommandGroup#add/removeCommand(int)" into pi-dev am: e711ebc4fa
...
am: 669ceda153
Change-Id: I77160c04691a98c026a6810f30062d8ebf4fb52b
2018-03-26 08:34:36 +00:00
Jaewan Kim
2a35051051
MediaSession2: Add CommandGroup#add/removeCommand(int)
...
Bug: 74648408
Test: Build
Change-Id: Icfcde5946e75ad74c2123be8064eb365366f5960
2018-03-26 08:10:22 +00:00
Jaewan Kim
c889c307b0
MediaMetadata2: Remove radio constants
...
Removeing radio constants until their names are finalized.
Bug: 75500592
Test: Build
Change-Id: I6f7a219c19dd24579a76c2064e9781ca53618c69
2018-03-26 17:07:12 +09:00
Jaewan Kim
a84c9eb1c4
MediaSession2: Change return type of CommandGroup#getCommands()
...
Bug: 74648408
Test: Build
Change-Id: I443dd0a1f244b285754561a4c485ef2e8530d42d
2018-03-26 15:30:44 +09:00
Jaewan Kim
e32fa0db4a
MediaSession2: Revisit command code
...
Bug: 74648408
Test: Build
Change-Id: I0c66d6dec7f5a25bd4c36aa6e2c140951ea38855
2018-03-26 15:28:40 +09:00
Jaewan Kim
0550b85859
Merge "MediaSession2: Match APIs with MediaPlayerBase" into pi-dev am: c92f8b4053
...
am: 749deb1472
Change-Id: Ia369a5f5dc1ae89f651d4db92d134fda4bb62966
2018-03-26 05:43:41 +00:00
Jaewan Kim
9032b8b0b1
Merge "MediaPlayerBase: Add PlayerEventCallback#onPlaybackSpeedChanged()" into pi-dev am: a6ba53d69d
...
am: aa1f42103f
Change-Id: If6e9f52da2826fec1f82499f2dab498bbec0357c
2018-03-26 05:30:47 +00:00
Jaewan Kim
c92f8b4053
Merge "MediaSession2: Match APIs with MediaPlayerBase" into pi-dev
2018-03-26 05:12:17 +00:00
Jaewan Kim
a6ba53d69d
Merge "MediaPlayerBase: Add PlayerEventCallback#onPlaybackSpeedChanged()" into pi-dev
2018-03-26 04:57:48 +00:00
Jaewan Kim
e2851f9f61
Merge "MediaController2: Match APIs with MediaPlayerBase" into pi-dev am: c4f56a6be5
...
am: 47ae32d079
Change-Id: Ie063d1b182888ffd3785815bc449b158f80488b4
2018-03-26 02:39:23 +00:00
Jaewan Kim
c4f56a6be5
Merge "MediaController2: Match APIs with MediaPlayerBase" into pi-dev
2018-03-26 02:07:57 +00:00
Jaewan Kim
f1aed24371
Merge "MediaPlaylistAgent: Add getMediaItem()" into pi-dev am: 46c07f3bd3
...
am: d59f42b70f
Change-Id: Iae4b9fab97a94c6b57c9c848b6bf60f1db3e6b24
2018-03-26 02:06:09 +00:00
Jaewan Kim
1796ce9a1c
Merge "MediaController2: Remove MediaPlaylistAgent in the ControllerCallback" into pi-dev am: a7fac1c115
...
am: 17c6654eb5
Change-Id: I62e9b70a5cfeaf815667796ed170dfec0bf7fbcd
2018-03-26 01:55:02 +00:00
Jaewan Kim
46c07f3bd3
Merge "MediaPlaylistAgent: Add getMediaItem()" into pi-dev
2018-03-26 01:31:54 +00:00
Jaewan Kim
a7fac1c115
Merge "MediaController2: Remove MediaPlaylistAgent in the ControllerCallback" into pi-dev
2018-03-26 01:24:21 +00:00
Jack He
890e4e4546
AudioSystem: Add case for FOR_VIBRATE_RINGING in forceUseUsageToString
...
Bug: 72647074
Test: make, dumpsys audio
Change-Id: Ieaf2bf0e0ef6624409d1e91d9a1d232726460fc7
2018-03-24 00:21:16 -07:00
Jean-Michel Trivi
047cfd0e9c
Merge "PlayerBase: log when startWatching fails" into pi-dev am: 3d9601d60e
...
am: 73777b5598
Change-Id: Ibfa044249de8d783733bfc1ac899e5ff73f0ed10
2018-03-24 06:38:23 +00:00
TreeHugger Robot
3d9601d60e
Merge "PlayerBase: log when startWatching fails" into pi-dev
2018-03-24 02:14:38 +00:00
Chong Zhang
da01efea07
Merge "insert exif info for HEIF files" into pi-dev am: 01aaabdea5
...
am: 011babb8c7
Change-Id: I33ab44c60707874dd421a10d0951dabb76442a52
2018-03-24 01:57:50 +00:00
TreeHugger Robot
01aaabdea5
Merge "insert exif info for HEIF files" into pi-dev
2018-03-23 22:17:35 +00:00
Jean-Michel Trivi
b8748c65b8
PlayerBase: log when startWatching fails
...
Bug: 75274546
Test: set DEBUG to true, verify appOps logs in logcat
Change-Id: I19506372188dbaec0976733856513a94da75d2ea
2018-03-23 10:35:19 -07:00
Jack He
369a8fdfe6
Merge "Bluetooth: Enable in-band ringing in vibration mode (1/4)" into pi-dev am: cbb8cd77d5
...
am: e58e7bf155
Change-Id: Iaf338b1dcc1036deb9fb5a67a12f4ae1b63e032b
2018-03-23 09:02:36 +00:00
TreeHugger Robot
cbb8cd77d5
Merge "Bluetooth: Enable in-band ringing in vibration mode (1/4)" into pi-dev
2018-03-23 08:22:56 +00:00
Sungsoo Lim
1b681749ce
Merge "Use SessionPlaylistAgent in MediaSession2Impl" into pi-dev am: ff1c9fa576
...
am: da1a34f4fc
Change-Id: Ia09e298f793c95fe79cf28c6e553151effa7ca1f
2018-03-23 08:05:47 +00:00
Hyundo Moon
c0e40846c0
Merge "MediaSession2: Protect MediaSessionManager APIs with permission" into pi-dev am: 9e5a7f2a63
...
am: 07d23014b3
Change-Id: Ia0fdc6d9808b8270c7e344d187a427ab959e3ecc
2018-03-23 07:49:42 +00:00
Jaewan Kim
6fac589d48
MediaPlayerBase: Add PlayerEventCallback#onPlaybackSpeedChanged()
...
Bug: 74093080, Bug: 75500592
Test: Run CTS with MediaComponents/runcts.sh
Change-Id: Ibdb3bc9e3fb379c2533eb7f1867e399769f9bb72
2018-03-23 16:21:47 +09:00
Jaewan Kim
888ccd17aa
MediaSession2: Match APIs with MediaPlayerBase
...
Bug: 75500592
Test: Build
Change-Id: Ic2cf1fc9a9d11752d84ff6f69905b5983e57d10a
2018-03-23 16:08:33 +09:00
TreeHugger Robot
ff1c9fa576
Merge "Use SessionPlaylistAgent in MediaSession2Impl" into pi-dev
2018-03-23 07:08:08 +00:00
Jaewan Kim
5df1839263
MediaPlaylistAgent: Add getMediaItem()
...
Provide a way for a custom MediaPlaylistAgent to tell which
MediaItem2 maps to the DataSourceDesc from the
MediaPlayerBase#PlayerEventCallback.
Bug: 74316764, Bug: 75500592
Test: Run CTS with MediaComponents/runcts.sh
Change-Id: I45c9893bf74b2635f31949be537885a79860cfb3
2018-03-23 15:59:59 +09:00
Jaewan Kim
b63abdac2b
Merge "MediaSession2: Add more detailed documentation for addPlaylistItem()" into pi-dev am: e41b39d6e9
...
am: 9ee3dcbd65
Change-Id: I1a91abc52be1e0b3be31581409dfad3db1fc3000
2018-03-23 06:34:27 +00:00
Jaewan Kim
e98b8990bc
MediaController2: Remove MediaPlaylistAgent in the ControllerCallback
...
Bug: 75500592
Test: Run CTS with MediaComponents/runcts.sh
Change-Id: Iffd089fd86284a802e1da155d13cb4877aab3f06
2018-03-23 15:17:04 +09:00
Jack He
6dd78c1759
Bluetooth: Enable in-band ringing in vibration mode (1/4)
...
* Add AudioSystem.FOR_VIBRATE_RINGING mode to match the native layer
AUDIO_POLICY_FORCE_FOR_VIBRATE_RINGING force mode
* Switch to this mode when Bluetooth SCO is connected
* Modify AudioService.muteRingerModeStreams() method to not mute ringer
volume when Bluetooth SCO is ON. Also, when ringer is unmuted, mirror
speaker ringtone volume on Bluetooth SCO ringer
Bug: 72647074
Test: Call phone in vibration mode and hear ringtone on HFP enabled
headset, verify that ringtone is only played through headset.
Then disconnect headset and call again to verify that ringtone
does not play through phone speaker in vibration mode.
Change-Id: I7d642020710c085f0e1f27c750c74b0e2fb57398
2018-03-23 06:14:33 +00:00
Hyundo Moon
9e5a7f2a63
Merge "MediaSession2: Protect MediaSessionManager APIs with permission" into pi-dev
2018-03-23 06:07:17 +00:00
Jaewan Kim
abf686e02c
MediaController2: Match APIs with MediaPlayerBase
...
Bug: 74370608
Test: Build
Change-Id: I6a67b56f0d7a4afe723ea86e70c116fb730b3e69
2018-03-23 15:02:41 +09:00
Jean-Michel Trivi
9f504f3118
Merge "Merge "Hide Media*2 APIs" into pi-dev am: d847d7d0a9" into pi-dev-plus-aosp
...
am: afe151935a
Change-Id: I40f0b08af3387975e4ca30f6da38b6942ee21077
2018-03-23 06:00:08 +00:00
John W. Bruce
ddf83bb028
Merge "Document CryptoInfo Settings for CENC 2016 & HLS Audio" into pi-dev am: 6ab6a9d433
...
am: 889da15d94
Change-Id: I9ef9a16a6175840f8f72800400bcdc6d2ec9684e
2018-03-23 04:33:54 +00:00
Christofer Åkersten
8001abf738
Hide Media*2 APIs
...
Bug: 76121592
Test: make update-api
Change-Id: I5bf3d1a0f42fd88073c54ec1106be7cfe096a5f6
2018-03-23 12:18:42 +09:00
Jaewan Kim
e41b39d6e9
Merge "MediaSession2: Add more detailed documentation for addPlaylistItem()" into pi-dev
2018-03-23 02:47:25 +00:00
Jean-Michel Trivi
d847d7d0a9
Merge "Hide Media*2 APIs" into pi-dev
2018-03-23 01:12:14 +00:00
Julia Reynolds
45723486bd
Merge "Add vol up + power ringer toggle gesture" into pi-dev am: 224e2fb2ef
...
am: b598333775
Change-Id: I0bc60476384fed3dd5febaf2b27d5affcd9e9c72
2018-03-23 01:07:07 +00:00
TreeHugger Robot
6ab6a9d433
Merge "Document CryptoInfo Settings for CENC 2016 & HLS Audio" into pi-dev
2018-03-23 01:02:30 +00:00
Jean-Michel Trivi
3a582e73c1
Hide Media*2 APIs
...
Bug: 76121592
Test: make offline-sdk-docs
Change-Id: Ic5eba5ba0b3ef9f11c582ab6db7d8d61934941dd
2018-03-22 16:30:14 -07:00
Chong Zhang
3edfdab205
insert exif info for HEIF files
...
bug: 76125031
Test: push some HEIC files with rotation to sdcard, and query
the content provider to see the orientation field is set.
Change-Id: I8235cbcd2aad2f0088d771ee53d2ca87cd85800d
2018-03-22 16:27:50 -07:00
John W. Bruce
6da8f88296
Document CryptoInfo Settings for CENC 2016 & HLS Audio
...
Adds additional documentation that clarifies how to set up CryptoInfo
objects for CENC 2016 decryption schemes, in particular for the case of
HLS SAMPLE-AES Audio.
Bug: 62503021
Test: make docs
Change-Id: Ia21ef62a4144e7b41b0216ba0b968ff6c52d0297
2018-03-22 15:58:21 -07:00
Julia Reynolds
224e2fb2ef
Merge "Add vol up + power ringer toggle gesture" into pi-dev
2018-03-22 22:03:48 +00:00
Jerry Zhang
63a69fd4f8
Revert "Add additional context to MtpDatabase"
...
This reverts commit 5f0139d2e8 .
Bug: 72877143
Test: Switch users, use MTP
Change-Id: Ide372a9311a4f2647715d052fc0e1d9a04808aa0
2018-03-22 11:35:19 -07:00