I have an issue with my Sony X900H android tv.
If chromecast is active in background I can’t switch to it. So if I cast a dashboard, press back/open another app, if I cast again nothing happens. (the media shell probably updates in the background, but I can’t bring focus to it)
Is there a adb command that I can run?
For example: here the Activity in foreground is com.cony.dtv.tvx (just direct input from tv, but could be any other app like Netflix), and TV cant is showing that its already casting a dashboard.
I ran a sys dump adb command and the media shell does show up as running in background. Running adb command to open the chromecast activity didnt seem to work either.
Theres a workaround where I send a ADB command to kill the mediaShell activity, but then I have to wait 7 seconds before I am able to cast again (I guess the chromecast starting up again), but its annoying to have to wait that long for a cast to happen (in addition to the 5-6 seconds it already takes to connect to Lovelace dashboard).