Browse Source

Merge pull request #20 from hrastnik/bugfix_mark-muted-as-final

Marked variable muted as final to fix compilation issue
少言 6 years ago
parent
commit
17ea81106d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      android/src/main/java/com/syan/agora/AgoraModule.java

+ 2
- 2
android/src/main/java/com/syan/agora/AgoraModule.java View File

223
          * 用户mute音频回调
223
          * 用户mute音频回调
224
          */
224
          */
225
         @Override
225
         @Override
226
-        public void onUserMuteAudio(final int uid, boolean muted) {
226
+        public void onUserMuteAudio(final int uid, final boolean muted) {
227
             runOnUiThread(new Runnable() {
227
             runOnUiThread(new Runnable() {
228
                 @Override
228
                 @Override
229
                 public void run() {
229
                 public void run() {
240
          * 用户mute视频回调
240
          * 用户mute视频回调
241
          */
241
          */
242
         @Override
242
         @Override
243
-        public void onUserMuteVideo(final int uid, boolean muted) {
243
+        public void onUserMuteVideo(final int uid, final boolean muted) {
244
             runOnUiThread(new Runnable() {
244
             runOnUiThread(new Runnable() {
245
                 @Override
245
                 @Override
246
                 public void run() {
246
                 public void run() {