Skip to content
Commit b40a716a authored by Jin Seok Park's avatar Jin Seok Park
Browse files

[Media ML] Implement button session management

1. Add config values for setting custom dispatcher and provider
class names as @hide APIs.
2. Make MediaSessionService use the custom dispatcher and
provider classes (if they exist) via reflection.
3. Make SessionPolicyProvider/MediaKeyDispatcher abstract classes
and add a default constructor without parameters to make sure it
can be called via reflection.

TODO: Add API for getting/setting policies via MediaSessionManager
once b/149006225 is fixed.

Bug: 147027868
Test: build and manually test
Change-Id: I6f809ce2201cb8fc25d603654148f211a78ea107
parent 628f8bc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment