commit | f682a8afbfd8ff5f8f6b4663824992558518ffa1 | [log] [tgz] |
---|---|---|
author | Gary Mai <garymai@google.com> | Tue Oct 11 15:28:15 2016 -0700 |
committer | Gary Mai <garymai@google.com> | Wed Oct 12 02:02:56 2016 +0000 |
tree | 56bfbb99d441b8297a2780536a3fa1a7c2f54723 | |
parent | 7a6daea69ea47c31a1b838a423e7cdaceafae753 [diff] |
Use given DefaultImageRequest when loading from Uris Add empty bytes array check. Without this the photo would be blank if one did not exist. The given DefaultImageRequest was only used if the Uri was null, changed Request to also hold the given DIR to use if a photo couldn't be loaded. Test: Manual usage of the raw contact picker dialog. Bug: 31826229 Bug: 32096517 Change-Id: Ied938552326f8a258b558040e1b1c1b5d5723239