Fixed crash when playbackservice wasn't running and no last played media

was found
This commit is contained in:
daniel oeh 2012-07-14 22:50:47 +02:00
parent 1e9e24514f
commit 2525c8e582

View File

@ -213,6 +213,7 @@ public class MediaplayerActivity extends SherlockFragmentActivity implements
} else { } else {
Log.d(TAG, "No last played media found"); Log.d(TAG, "No last played media found");
status = PlayerStatus.STOPPED; status = PlayerStatus.STOPPED;
setupGUI();
handleStatus(); handleStatus();
} }
} else { } else {