progressIndicator wasn't always set invisible when expected

This commit is contained in:
daniel oeh 2012-08-05 23:31:32 +02:00
parent 6901e4a08f
commit 854e2be3fd
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,8 @@ public class VideoplayerActivity extends MediaplayerActivity implements
protected void postStatusMsg(int resId) {
if (resId == R.string.player_preparing_msg) {
progressIndicator.setVisibility(View.VISIBLE);
} else {
progressIndicator.setVisibility(View.INVISIBLE);
}
}