VideoPlayerManager icon indicating copy to clipboard operation
VideoPlayerManager copied to clipboard

onVideoStoppedMainThread

Open GuardYang opened this issue 7 years ago • 1 comments

onVideoStoppedMainThread 机型 oppo R7c

GuardYang avatar Nov 24 '17 01:11 GuardYang

In MediaPlayerWrapper change this:

  private boolean inUiThread() {
        return Thread.currentThread().getId() == 1;
    }

with this:

private boolean inUiThread() {
   return Thread.currentThread() == Looper.getMainLooper().getThread();
}

paolomoschini avatar May 03 '18 14:05 paolomoschini