Don't crash when listener registration gets out of sync

 Bug: 13914960

In some cases it can happen that resume/pause sequences happen on
two CameraActivities at the same time, especially when switching
from lock-screen to non-lockscreen activities.

Change-Id: Ic0826fc4a1d601b0ba0e6ac9cef84c022d958ad4
1 file changed