diff options
author | Jaewan Kim <jaewan@google.com> | 2018-03-06 14:43:10 +0900 |
---|---|---|
committer | Sungsoo Lim <sungsoo@google.com> | 2018-03-07 16:31:53 +0900 |
commit | 4d4a8c95ae9cb49413aa13ec19dcef5068ea710f (patch) | |
tree | d25246c05279dced2a9988f514721671c15db5ff /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 8c76ca03418884d8e60bda1f5695d44563b20007 (diff) |
MediaSession2: Add onDataSourceMissingHelper
This allows a developer to create DataSourceDesc when the item is about
to be played. Typical example of the usages are,
1. For a playlist consists of FileDescriptors, its developer may not
want to open all files when MediaSession2.setPlaylist() is
called.
2. A controller has called setPlaylist(), addPlaylistItem(), or
replacePlaylistItem(). Controller cannot know the
DataSourceDesc, and only the session developer can know about
it.
Bug: 64098437
Test: Run MediaComponents test
Change-Id: I73f27ca0a799b1cddf5046b41f0ca01d08037103
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions