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
1 file changed