Description
App becomes unresponsive after closing from recent apps while session is running. Even after calling leaveMeeting onDestroy the app hangs and doesn’t response.
Below are the logs generated when app hangs.
I mali_winsys: delete_surface() [1080x2322] return I System.out: (HTTPLog)-Static: isSBSettingEnabled false I System.out: (HTTPLog)-Static: isSBSettingEnabled false I marycare.melod: Thread[6,tid=31265,WaitingInMainSignalCatcherLoop,Thread*=0x6e55fe99a0,peer=0x13ac3558,"Signal Catcher"]: reacting to signal 3 07-12 17:45:31.004 21285 31265 I marycare.melod: I marycare.melod: Wrote stack traces to tombstoned
Which Android Client SDK version?
zoom-sdk-android-5.5.1.1319
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Open app, initialise SDK, login user.
- Start meeting.
- Close app from recent apps.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: Samsung Galaxy S20
- OS: Android 11
Additional context
@Override
`
protected void onDestroy() {
Log.i(TAG, "onDestroy");
MeetingService meetingService = ZoomSDK.getInstance().getMeetingService();
if (meetingService == null) {
return;
}
Log.i(TAG, "leaveMeeting getMeetingStatus: " + meetingService.getMeetingStatus() + " isCurrentMeetingHost: " + meetingService.isCurrentMeetingHost());
if (meetingService.getMeetingStatus() == MeetingStatus.MEETING_STATUS_INMEETING) {
meetingService.leaveCurrentMeeting(meetingService.isCurrentMeetingHost());
}
}
super.onDestroy();
}`