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