guard unregister phone account by system feature check
This commit is contained in:
parent
60e6841578
commit
cbd8fb3488
|
@ -2751,7 +2751,9 @@ public class XmppConnectionService extends Service {
|
|||
};
|
||||
mDatabaseWriterExecutor.execute(runnable);
|
||||
this.accounts.remove(account);
|
||||
if (CallIntegration.hasSystemFeature(this)) {
|
||||
CallIntegrationConnectionService.unregisterPhoneAccount(this, account);
|
||||
}
|
||||
this.mRosterSyncTaskManager.clear(account);
|
||||
updateAccountUi();
|
||||
mNotificationService.updateErrorNotification();
|
||||
|
|
Loading…
Reference in a new issue