diff options
author | Alan Young <consult.awy@gmail.com> | 2015-07-06 08:14:13 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2015-08-13 08:05:42 (GMT) |
commit | 9bf162922691c1f45813da6a21f2e274bfad3114 (patch) | |
tree | 2d7c49abc72ede17701c3300140718b1c3e81bcc /Documentation/Licenses | |
parent | af3bb03053b9d83f4d38b31d66b292792206a327 (diff) | |
download | stroke-9bf162922691c1f45813da6a21f2e274bfad3114.zip stroke-9bf162922691c1f45813da6a21f2e274bfad3114.tar.bz2 |
VCard.getPhoto() to return null for absent photo.
Most of the time when VCard.getPhoto() is called it is only used to
determine presence or absence of a photo. Thus, it makes no sense to
allocate an empty ByteArray() just for this purpose. Return null
instead, if absent.
Change-Id: I3bae02ffbece5589c74c950bbb4c0db6c0376c76
Diffstat (limited to 'Documentation/Licenses')
0 files changed, 0 insertions, 0 deletions