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);
|
mDatabaseWriterExecutor.execute(runnable);
|
||||||
this.accounts.remove(account);
|
this.accounts.remove(account);
|
||||||
CallIntegrationConnectionService.unregisterPhoneAccount(this, account);
|
if (CallIntegration.hasSystemFeature(this)) {
|
||||||
|
CallIntegrationConnectionService.unregisterPhoneAccount(this, account);
|
||||||
|
}
|
||||||
this.mRosterSyncTaskManager.clear(account);
|
this.mRosterSyncTaskManager.clear(account);
|
||||||
updateAccountUi();
|
updateAccountUi();
|
||||||
mNotificationService.updateErrorNotification();
|
mNotificationService.updateErrorNotification();
|
||||||
|
|
Loading…
Reference in a new issue