summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/Camera.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/Camera.java')
-rw-r--r--src/com/android/camera/Camera.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index bfe6963..790e3ca 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -1035,11 +1035,10 @@ public class Camera extends ActivityBase implements View.OnClickListener,
if (mIsImageCaptureIntent) {
setupCaptureParams();
- View reviewControl = findViewById(R.id.review_control);
- reviewControl.setVisibility(View.VISIBLE);
- reviewControl.findViewById(R.id.btn_cancel).setOnClickListener(this);
- reviewControl.findViewById(R.id.btn_retake).setOnClickListener(this);
- reviewControl.findViewById(R.id.btn_done).setOnClickListener(this);
+ findViewById(R.id.review_control).setVisibility(View.VISIBLE);
+ findViewById(R.id.btn_cancel).setOnClickListener(this);
+ findViewById(R.id.btn_retake).setOnClickListener(this);
+ findViewById(R.id.btn_done).setOnClickListener(this);
} else {
mSwitcher = (SwitcherSet) findViewById(R.id.camera_switch);
mSwitcher.setVisibility(View.VISIBLE);