Fixed play service stopping if PlayFragment is unBound.

This commit is contained in:
Felix Ableitner 2014-05-04 12:22:38 +02:00
parent 55bb705ac0
commit cd60c3c66a

View file

@ -123,7 +123,7 @@ public class MediaRouterPlayService extends Service {
if (route.equals(mCurrentRoute))
stopForeground(true);
if (!mBound)
if (!mBound && !mPollingStatus)
stopSelf();
}
};