You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the SimpleWear controller with Voice, but it couldn't make the playback run. Looking at the code, I noticed that LibrarySessionCallback.onConnect implements external playback control, but only for Android Auto, so I managed to get it working by loosening the package id check. If, however, the app is onened and closed after an external playback start, it can end up with a released session, which makes it unusable until a full process stop, which can be fixed by creating a new session when required in PlaybackService.onGetSession. Can such changes be merged?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I tried to use the SimpleWear controller with Voice, but it couldn't make the playback run. Looking at the code, I noticed that
LibrarySessionCallback.onConnect
implements external playback control, but only for Android Auto, so I managed to get it working by loosening the package id check. If, however, the app is onened and closed after an external playback start, it can end up with a released session, which makes it unusable until a full process stop, which can be fixed by creating a new session when required inPlaybackService.onGetSession
. Can such changes be merged?Beta Was this translation helpful? Give feedback.
All reactions