diff options
author | Erin Dahlgren <edahlgren@google.com> | 2014-02-25 19:16:12 -0800 |
---|---|---|
committer | Erin Dahlgren <edahlgren@google.com> | 2014-02-26 11:29:06 -0800 |
commit | 5d18769f53db81d401488811250570290a73626b (patch) | |
tree | 8c48805c014406cd6364f1834ffeeeebb3169676 /src/com/android/camera/module | |
parent | 09a34b12c8049a6a0f4d09635af6742e3a40e70e (diff) | |
download | android_packages_apps_Camera2-5d18769f53db81d401488811250570290a73626b.tar.gz android_packages_apps_Camera2-5d18769f53db81d401488811250570290a73626b.tar.bz2 android_packages_apps_Camera2-5d18769f53db81d401488811250570290a73626b.zip |
Generalize shutter button listeners and add one for mode options.
Bug: 13099000
Change-Id: Ib0726c70a9e4aa06197550f29360bacb2dda4783
Diffstat (limited to 'src/com/android/camera/module')
-rw-r--r-- | src/com/android/camera/module/ModuleController.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/module/ModuleController.java b/src/com/android/camera/module/ModuleController.java index 1f0065021..a61c590e3 100644 --- a/src/com/android/camera/module/ModuleController.java +++ b/src/com/android/camera/module/ModuleController.java @@ -17,6 +17,7 @@ package com.android.camera.module; import com.android.camera.CameraActivity; +import com.android.camera.ShutterButton; import com.android.camera.app.CameraAppUI.BottomBarUISpec; import com.android.camera.app.CameraManager; import com.android.camera.hardware.HardwareSpec; @@ -24,7 +25,7 @@ import com.android.camera.hardware.HardwareSpec; /** * The controller at app level. */ -public interface ModuleController { +public interface ModuleController extends ShutterButton.OnShutterButtonListener { /** Preview is fully visible. */ public static final int VISIBILITY_VISIBLE = 0; /** Preview is covered by e.g. the transparent mode drawer. */ |