commit | 35d0db514faa54c5106efdef7f28974c89604dc7 | [log] [tgz] |
---|---|---|
author | padarshr <padarshr@codeaurora.org> | Tue Jul 15 18:06:03 2014 +0530 |
committer | Linux Build Service Account <lnxbuild@localhost> | Tue Nov 04 08:32:57 2014 -0700 |
tree | 0162eae007b38034d963fc99f5b3ac36e1674421 | |
parent | 822d45db603ef94d68fa2c2287ee3e4a9200a858 [diff] |
Add a null check in exifParser to avoid crash while setting Wallpaper. For some images, while setting as Wallpaper, the src array in System.arraycopy was null in exifParser, which leads to crash. This change adds null check to the array used in System.arraycopy. Also, a safe check is made to ensure start index is not negative. Change-Id: I46a16b6943aaeeb2395e335bf3926988b881be7a