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.
pull/4360/head
Saúl Ibarra Corretgé 6 years ago committed by Saúl Ibarra Corretgé
parent 3e77890387
commit ddaa22048f
  1. 7
      android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetActivity.java

@ -71,6 +71,13 @@ public class JitsiMeetActivity extends FragmentActivity
}
}
@Override
public void onDestroy() {
leave();
super.onDestroy();
}
@Override
public void finish() {
leave();

Loading…
Cancel
Save