Fixes NPE during AndroidCameraSystem initialization.
Fixes NPE in onResume of ChatActivity.