commit | cfc422b077c30f3e70c8506952de02d526d71a04 | [log] [tgz] |
---|---|---|
author | Dave Santoro <dsantoro@google.com> | Thu Sep 01 10:30:47 2011 -0700 |
committer | Dave Santoro <dsantoro@google.com> | Thu Sep 01 15:36:55 2011 -0700 |
tree | cb30cc99987cc28269d2b2127e3f6ac4045f4943 | |
parent | 7b0d7b04db42e7a8fd6a511b15da6bcd13f15a3c [diff] |
Fix photo updates when no photo is specified. If no photo key is present, we will not attempt to do any photo processing on the row. The existing photo and photo file, if any, will be unaffected. If a photo key is present but the value is null or an empty byte array, we will clear out the photo BLOB and photo file fields when updating. Bug 5247668 Change-Id: Ice8508060ab272bedfb42d105df55e972357e843