We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media3 1.5.1
MediaItemTree.kt
buildMediaItem
.setExtras(Bundle().apply { putString(MediaConstants.EXTRAS_KEY_CONTENT_STYLE_GROUP_TITLE, "Group title") })
Alternatively, apply the attached set_group_title.patch file using Git. set_group_title.patch
set_group_title.patch
Any emulator that is not able to display group titles, including the following:
Devices capable of displaying group titles:
Yes
demo-session-automotive
The app crashes with the following exception:
java.lang.IndexOutOfBoundsException: toIndex = n
Where n corresponds to the total number of items in the list/grid + 1, regardless of the index of the item you've clicked on.
n
The app should navigate to the requested content without crashing.
Only when the content (list/grid) is scrolled to the end, any navigation interaction triggers an IndexOutOfBoundsException. See stacktrace.txt.
IndexOutOfBoundsException
Not applicable
adb bugreport
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
Media3 1.5.1
More version details
Modify the demo-session-automotive app to display group titles
MediaItemTree.kt
at line 100.buildMediaItem
method to add a group title as follows:Alternatively, apply the attached
set_group_title.patch
file using Git.set_group_title.patch
Devices that reproduce the issue
Any emulator that is not able to display group titles, including the following:
Devices that do not reproduce the issue
Devices capable of displaying group titles:
Reproducible in the demo app?
Yes
Reproduction steps
demo-session-automotive
app on an Automotive emulator that does not support displaying group titles.The app crashes with the following exception:
Where
n
corresponds to the total number of items in the list/grid + 1, regardless of the index of the item you've clicked on.Expected result
The app should navigate to the requested content without crashing.
Actual result
Only when the content (list/grid) is scrolled to the end, any navigation interaction triggers an
IndexOutOfBoundsException
.See stacktrace.txt.
Media
Not applicable
Bug Report
adb bugreport
to [email protected] after filing this issue.The text was updated successfully, but these errors were encountered: