commit | 87270e1b58e669354bb1571ced686421c56deb7a | [log] [tgz] |
---|---|---|
author | Josh Gargus <jjosh@google.com> | Wed May 02 19:21:35 2012 -0700 |
committer | Josh Gargus <jjosh@google.com> | Wed May 02 19:21:35 2012 -0700 |
tree | 9f8dbe6db85844fe4814e7fa4ff9924c735b29f1 | |
parent | fead956de3c8714efdfdbce99ea35734b5f243db [diff] |
Avoid crash when re-saving new contact with photo. This bug was encountered when creating a new contact from Maps, but could happen any time you: - create a new contact - set a contact photo, either from the gallery or a new photo - save contact but don't leave ContactEditorFragment (eg: "Join" cause the contact to be saved) - edit another field - save The fix is to clear the list of photos-to-save after each save. Bug: 6432438 Change-Id: I63e86bd82fd16b8177bdca741ecc7a1a90d22d18