Pārlūkot izejas kodu

android: make sure we left the current meeting when the activity is destroyed

If the user swipes the activity from the recents list there is no other chance,
onDestroy gets called directly.
master
Saúl Ibarra Corretgé 6 gadus atpakaļ
vecāks
revīzija
ddaa22048f

+ 7
- 0
android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetActivity.java Parādīt failu

@@ -71,6 +71,13 @@ public class JitsiMeetActivity extends FragmentActivity
71 71
         }
72 72
     }
73 73
 
74
+    @Override
75
+    public void onDestroy() {
76
+        leave();
77
+
78
+        super.onDestroy();
79
+    }
80
+
74 81
     @Override
75 82
     public void finish() {
76 83
         leave();

Notiek ielāde…
Atcelt
Saglabāt