Fixed crash after remote provisioning
This commit is contained in:
parent
fc8082a427
commit
268f830674
1 changed files with 4 additions and 0 deletions
|
@ -457,6 +457,10 @@ public class ContactsManager extends ContentObserver implements FriendListListen
|
|||
mAndroidContactsCache = new HashMap<>();
|
||||
mContactsFetchedOnce = true;
|
||||
|
||||
if (mContext == null) {
|
||||
mContext = LinphoneService.instance().getApplicationContext();
|
||||
}
|
||||
|
||||
if (LinphonePreferences.instance() != null
|
||||
&& LinphonePreferences.instance().isFriendlistsubscriptionEnabled()) {
|
||||
String rls = getString(R.string.rls_uri);
|
||||
|
|
Loading…
Reference in a new issue