Skip to content

Commit

Permalink
fix #1754
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuoSmall committed Jan 14, 2019
1 parent 8a8255d commit bd2f5a4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,13 @@ public void showDisplay(final Message msg) {
if (mediaPlayer == null) {
return;
}
handler.post(new Runnable() {
@Override
public void run() {
if (msg.obj == null) {
mediaPlayer.setSurface(dummySurface);
} else {
Surface holder = (Surface) msg.obj;
surface = holder;
mediaPlayer.setSurface(holder);
}
}
});
if (msg.obj == null) {
mediaPlayer.setSurface(dummySurface);
} else {
Surface holder = (Surface) msg.obj;
surface = holder;
mediaPlayer.setSurface(holder);
}
}

@Override
Expand Down
4 changes: 4 additions & 0 deletions gsyVideoPlayer-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ android {
jniLibs.srcDirs = ['libs']
}
}
lintOptions {
abortOnError false
}

}

dependencies {
Expand Down
4 changes: 4 additions & 0 deletions gsyVideoPlayer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ android {
jniLibs.srcDirs = ['libs']
}
}
lintOptions {
abortOnError false
}

}

dependencies {
Expand Down

0 comments on commit bd2f5a4

Please sign in to comment.