Skip to content

Commit

Permalink
DrawHandler: getCurrentTime always return 0 if preparing is not finish
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiao committed Nov 13, 2015
1 parent fabcafc commit e9d4642
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,9 @@ public IDanmakus getCurrentVisibleDanmakus() {
}

public long getCurrentTime() {
if (!mReady) {
return 0;
}
if (mInSeekingAction) {
return mDesireSeekingTime;
}
Expand Down

0 comments on commit e9d4642

Please sign in to comment.