Fix LinphoneContact which wasn't serializable anymore, causing crash when calling from contact
This commit is contained in:
parent
ecf792a7fe
commit
e270bb6b6d
2 changed files with 3 additions and 1 deletions
|
@ -247,6 +247,8 @@ public class ContactsManager extends ContentObserver {
|
|||
}
|
||||
c.close();
|
||||
}
|
||||
} else {
|
||||
Log.w("[Permission] Read contacts permission wasn't granted, only fetch LinphoneFriends");
|
||||
}
|
||||
|
||||
LinphoneCore lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||
|
|
|
@ -59,7 +59,7 @@ public class LinphoneContact implements Serializable, Comparable<LinphoneContact
|
|||
private transient ArrayList<ContentProviderOperation> changesToCommit;
|
||||
private transient ArrayList<ContentProviderOperation> changesToCommit2;
|
||||
private boolean hasSipAddress;
|
||||
private Bitmap photoBitmap, thumbnailBitmap;
|
||||
private transient Bitmap photoBitmap, thumbnailBitmap;
|
||||
|
||||
public LinphoneContact() {
|
||||
addresses = new ArrayList<LinphoneNumberOrAddress>();
|
||||
|
|
Loading…
Reference in a new issue