[Android] [PATCH] Video : Always pause video if activity has stopped

Edward Wang edward.c.wang at compdigitec.com
Fri Aug 22 18:04:59 CEST 2014


Hi Alex,

On Fri, Aug 22, 2014 at 11:49 AM, Alexandre Perraud
<4leyx4ndre at gmail.com> wrote:
>                      activity.setESTracks();
>                      activity.changeAudioFocus(true);
>                      activity.updateNavStatus();
> +                    if (activity.mHasStopped) {
> +                        activity.mHasStopped = false;
> +                        activity.pause();
> +                    }

Have you considered checking this in startPlayback()?

Regards,
Edward


More information about the Android mailing list