android: handle exception when unregistering account
Pixel C devices have been seen crashing here, oh well.
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
e60a14d5af
commit
5ef0f527f9
@@ -113,7 +113,12 @@ class RNConnectionService extends ReactContextBaseJavaModule {
|
||||
} catch (Exception e) {
|
||||
JitsiMeetLogger.e(e, TAG + " error in startCall");
|
||||
if (tm != null) {
|
||||
tm.unregisterPhoneAccount(accountHandle);
|
||||
try {
|
||||
tm.unregisterPhoneAccount(accountHandle);
|
||||
} catch (Throwable tr) {
|
||||
// UnsupportedOperationException: System does not support feature android.software.connectionservice
|
||||
// was observed here. Ignore.
|
||||
}
|
||||
}
|
||||
ConnectionService.unregisterStartCallPromise(callUUID);
|
||||
if (e instanceof SecurityException) {
|
||||
|
||||
Reference in New Issue
Block a user