diff options
author | Wei Huang <weih@google.com> | 2011-11-14 10:49:01 -0800 |
---|---|---|
committer | Wei Huang <weih@google.com> | 2011-11-14 10:55:49 -0800 |
commit | 34238165cfdf04584587360dfcf21109bf09e144 (patch) | |
tree | 534dca18f9fd8369898083c62334df6ed38f4e3e /src/com/android/camera/VideoCamera.java | |
parent | dae264eca3e139d73c1b45c511243ef94fc4d9d5 (diff) | |
download | packages_apps_LegacyCamera-34238165cfdf04584587360dfcf21109bf09e144.zip packages_apps_LegacyCamera-34238165cfdf04584587360dfcf21109bf09e144.tar.gz packages_apps_LegacyCamera-34238165cfdf04584587360dfcf21109bf09e144.tar.bz2 |
bug #5612744: guard against NPE found by Monkey.
cl https://android-git.corp.google.com/g/#/c/149421/5 removed the null pointer checking. This leads to Monkey crashes. It seems that we either need to call initOnScreenIndicator() in onCreate(), or check for null in the updateXXXIndicator() methods.
I thought about moving initOnScreenIndicator() to onCreate(), but didn't want to introduce any latency for starting up the camera app.
Change-Id: I8b9fecb5eb77dc1afef9725fd3d3d4dbe5048c9d
Diffstat (limited to 'src/com/android/camera/VideoCamera.java')
0 files changed, 0 insertions, 0 deletions