commit | d1849430a108413ed1aacbe2fc1cccb5653b8575 | [log] [tgz] |
---|---|---|
author | Camera Software Integration <camswint@localhost> | Wed Jan 20 12:06:15 2016 +0530 |
committer | Camera Software Integration <camswint@localhost> | Thu Jan 21 11:01:24 2016 +0530 |
tree | 42344a8fb600b122ed004fc53def75472aa114ea | |
parent | 3013908b70efc63bfc530ab635b306d839fb370a [diff] |
SnapdragonCamera: Fix NPE during camera switch Issue: In a corner case, when we switch between front/rear camera quickly, then currentCamera can be null which leads to null pointer exception and results in exit camera Fix: To avoid the null pointer exception added the null check on currentCamera. Change-Id: I0e7dbc91c06bd5b0da7f1e645f2aba156b2fd1a5