commit | 744dfe88ca7207957790146eeb17899c140febcf | [log] [tgz] |
---|---|---|
author | Jay Wang <jaywang@codeaurora.org> | Wed Feb 03 15:13:49 2016 -0800 |
committer | Camera Software Integration <camswint@localhost> | Sat Feb 06 22:23:45 2016 +0530 |
tree | 0aaeef1b82388e332d37274375166deae2ab38cc | |
parent | 3bbd475f30b6f328ed6ea53d3affa8d530f6f017 [diff] |
SnapdragonCamera: fix null pointer exception During layout change, it is possible camera preview is not configured, yet and Camera.Parameters.getPreviewSize() returns null pointer. Adding a null check to skip the layout change if the pointer is null Change-Id: Icb3ecf60c261e68cc5f2b05eba4df020857022eb CRs-Fixed: 945969