Browse Source

Merge pull request #24 from yoonzm/master

Update AgoraModule.java
少言 6 years ago
parent
commit
47a4b5af13
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      android/src/main/java/com/syan/agora/AgoraModule.java

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

@@ -207,7 +207,7 @@ public class AgoraModule extends ReactContextBaseJavaModule {
207 207
          * 用户uid离线时的回调
208 208
          */
209 209
         @Override
210
-        public void onUserOffline(final int uid, int reason) {
210
+        public void onUserOffline(final int uid, final int reason) {
211 211
             runOnUiThread(new Runnable() {
212 212
                 @Override
213 213
                 public void run() {