谁能看懂这段反编译之后的代码,把它还原了!
public void seekTo(int paramInt){
if (paramInt <= 0)
return;
Log.d("VSTVideoView", "msec = " + paramInt);
if (this.isResultSeek)
{
if (isInPlaybackState())
{
this.mMediaPlayer.seekTo(paramInt);
this.mSeekWhenPrepared = 0;
return;
}
this.mSeekWhenPrepared = paramInt;
Log.d("VSTVideoView", "mSeekWhenPrepared = " + this.mSeekWhenPrepared);
return;
}
for (int i = 0; ; ++i)
{
if (i < this.mDurations.length);
paramInt -= this.mDurations[i];
if (paramInt >= 0)
continue;
int j = paramInt + this.mDurations[i];
this.isResultSeek = true;
if (this.index == i)
{
this.mMediaPlayer.seekTo(j);
this.mSeekWhenPrepared = 0;
return;
}
this.index = i;
this.mUri = this.mUris[i];
this.mSeekWhenPrepared = j;
Log.d("VSTVideoView", "mSeekWhenPrepared = " + this.mSeekWhenPrepared);
this.handler.post(new Runnable()
{
public void run()
{
VideoView.this.openVideo();
}
});
return;
}
} --------------------编程问答-------------------- 一些if判断,状态判断,赋值,这些语句一行一行的谁都能看得懂吧?
LZ要是想问业务逻辑,那就。。。 --------------------编程问答-------------------- 这个。没几个人会乐意去读吧 --------------------编程问答-------------------- 看上去反编译得和正常代码差不多了啊,还有什么需要还原的
补充:Java , Java相关