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: 542a82009c56211e690b37ec7ebd82f02b8cf0f6
  1. proguard.flags
  2. res/
  3. src/