diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/camera/ui/IndicatorControlBar.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/camera/ui/IndicatorControlBar.java b/src/com/android/camera/ui/IndicatorControlBar.java index 197c594..615a5ba 100644 --- a/src/com/android/camera/ui/IndicatorControlBar.java +++ b/src/com/android/camera/ui/IndicatorControlBar.java @@ -57,7 +57,9 @@ public class IndicatorControlBar extends IndicatorControl implements // Add CameraPicker control. initializeCameraPicker(); - mCameraPicker.setBackgroundResource(R.drawable.bg_pressed); + if (mCameraPicker != null) { + mCameraPicker.setBackgroundResource(R.drawable.bg_pressed); + } // Add the ZoomControl if supported. if (zoomSupported) { |