Fixing NPE in InCallCameraManager.

1. Changed InCallCameraManager to check for null context before getting
the CAMERA_SERVICE.
2. Added try/catch around getSystemService call to ensure failures don't
crash InCall UI.
3. Changed so that the InCallCameraManager is lazy loaded, only when it
is actually used (previously it was initialized on InCall startup).

Bug: 17355717
Change-Id: Ie5debaece1e5dca4d3c5b6a586a188f518696ab8
3 files changed
tree: 3ef0a3feb53f5fd5edc1ed44f36b7746dea8199b
  1. InCallUI/