summaryrefslogtreecommitdiffstats
path: root/res/layout/video_module.xml
diff options
context:
space:
mode:
authorJay Wang <jaywang@codeaurora.org>2016-02-03 15:13:49 -0800
committerCamera Software Integration <camswint@localhost>2016-02-06 22:23:45 +0530
commit744dfe88ca7207957790146eeb17899c140febcf (patch)
tree0aaeef1b82388e332d37274375166deae2ab38cc /res/layout/video_module.xml
parent3bbd475f30b6f328ed6ea53d3affa8d530f6f017 (diff)
downloadandroid_packages_apps_Snap-744dfe88ca7207957790146eeb17899c140febcf.tar.gz
android_packages_apps_Snap-744dfe88ca7207957790146eeb17899c140febcf.tar.bz2
android_packages_apps_Snap-744dfe88ca7207957790146eeb17899c140febcf.zip
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
Diffstat (limited to 'res/layout/video_module.xml')
0 files changed, 0 insertions, 0 deletions