summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ShutterButton.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/ShutterButton.java')
-rw-r--r--src/com/android/camera/ShutterButton.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/camera/ShutterButton.java b/src/com/android/camera/ShutterButton.java
index f1d969f9d..b35658070 100644
--- a/src/com/android/camera/ShutterButton.java
+++ b/src/com/android/camera/ShutterButton.java
@@ -22,12 +22,14 @@ import android.view.MotionEvent;
import android.view.View;
import android.widget.ImageView;
+import com.android.camera.ui.RotateImageView;
+
/**
* A button designed to be used for the on-screen shutter button.
* It's currently an {@code ImageView} that can call a delegate when the
* pressed state changes.
*/
-public class ShutterButton extends ImageView {
+public class ShutterButton extends RotateImageView {
private class LongClickListener implements View.OnLongClickListener {
public boolean onLongClick(View v) {