Move suggestion device chip state management into a separate class
The suggestion device chip is only used by the Media Controls and the
state management is specific to that piece of UI. Moving that logic out
of generic InfoMediaManager to SuggestedDeviceManager for the ease of
maintenance.
Bug: 428663871
Test: atest SuggestedDeviceManagerTest
Test: atest LocalMediaManagerTest InfoMediaManagerTest
Test: atest MediaDeviceManagerTest
Test: On a physical device
Flag: com.android.media.flags.enable_suggested_device_api
Change-Id: I1d32370dd0c7274a37828584f9de6b657d70c70d
11 files changed