mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
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…
Add table
Reference in a new issue