Skip to content

Commit

Permalink
Merge pull request #20 from hrastnik/bugfix_mark-muted-as-final
Browse files Browse the repository at this point in the history
Marked variable muted as final to fix compilation issue
  • Loading branch information
syanbo authored Oct 11, 2018
2 parents b225841 + ed5ced6 commit 077517d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/src/main/java/com/syan/agora/AgoraModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public void run() {
* 用户mute音频回调
*/
@Override
public void onUserMuteAudio(final int uid, boolean muted) {
public void onUserMuteAudio(final int uid, final boolean muted) {
runOnUiThread(new Runnable() {
@Override
public void run() {
Expand All @@ -240,7 +240,7 @@ public void run() {
* 用户mute视频回调
*/
@Override
public void onUserMuteVideo(final int uid, boolean muted) {
public void onUserMuteVideo(final int uid, final boolean muted) {
runOnUiThread(new Runnable() {
@Override
public void run() {
Expand Down

0 comments on commit 077517d

Please sign in to comment.