Skip to content
Commit 4195d87b authored by cecilia's avatar cecilia Committed by Cecilia Hong
Browse files

Init MediaHost with KeyguardMediaController's initialization, not wait until...

Init MediaHost with KeyguardMediaController's initialization, not wait until the controller is attached.

This fixes the bug where media control doesn't show on lock screen. This is because the instance of MediaHost being added as MediaDataManager.Listener is not the same instance the KeyguardMediaController holds. Init media host during the controller's initialization instead of attach fixes this issue.

Fixes: 185510540
Test: Studio builds
Change-Id: I821b97efe0558c09dcab4497e5043c744d82a9e1
parent e5e92aee
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