[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
Loading
Please register or sign in to comment