Do not reinit on pause (#6732)
The call to `reinit()` causes Android Auto to close the player view when pausing
This commit is contained in:
parent
691ed73910
commit
2c3fb5610a
|
@ -1774,7 +1774,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
|
||||||
public void onPause() {
|
public void onPause() {
|
||||||
Log.d(TAG, "onPause()");
|
Log.d(TAG, "onPause()");
|
||||||
if (getStatus() == PlayerStatus.PLAYING) {
|
if (getStatus() == PlayerStatus.PLAYING) {
|
||||||
pause(!UserPreferences.isPersistNotify(), true);
|
pause(!UserPreferences.isPersistNotify(), false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue