Skip to content

Commit

Permalink
Marked variable muted as final to fix compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hrastnik committed Oct 9, 2018
1 parent b225841 commit ed5ced6
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 ed5ced6

Please sign in to comment.