ソースを参照

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

Marked variable muted as final to fix compilation issue
少言 6 年 前
コミット
17ea81106d
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2
    2
      android/src/main/java/com/syan/agora/AgoraModule.java

+ 2
- 2
android/src/main/java/com/syan/agora/AgoraModule.java ファイルの表示

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