-
Notifications
You must be signed in to change notification settings - Fork 575
Description
Hi team,
I'm working with MediaLibraryService in a Media3-based Android Auto app. While the documentation and method signature of onGetChildren() clearly support pagination via page and pageSize, I've found that Android Auto does not actually make paginated requests.
🔍 What I’ve Verified:
The official method signature:
onGetChildren(session, browser, parentId, page, pageSize, params)
clearly defines support for pagination (page starting from 0, pageSize > 0).
↳ See attached screenshot from source code 📎
However, as confirmed by the community:
👉 #189
Android Auto always sends page = 0 and pageSize = Integer.MAX_VALUE, requesting the full list in one go.
❓My Question:
Is this behavior intentional due to Android Auto’s design (e.g., driver safety restrictions), or is it a limitation in the current implementation?
If it’s by design, it would be helpful if this was officially documented in the Media3 or Android Auto developer guide.
https://stackoverflow.com/a/74107929
Could you please confirm:
Whether Android Auto supports pagination at all?
If not, should developers manually limit results or use “load more” folders?
Can this be clarified in the official documentation?
Thanks in advance!