summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CameraModule.java
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2013-09-09 14:58:44 -0700
committerztenghui <ztenghui@google.com>2013-09-11 17:12:24 -0700
commit7b265a6b2f55c6ae7afc30e63ba324c4084a5d8e (patch)
tree8c70ed32155287e4f023af0df1af439688188eed /src/com/android/camera/CameraModule.java
parent20703f72e087a01e6a589c2875819cf817581a51 (diff)
downloadandroid_packages_apps_Snap-7b265a6b2f55c6ae7afc30e63ba324c4084a5d8e.tar.gz
android_packages_apps_Snap-7b265a6b2f55c6ae7afc30e63ba324c4084a5d8e.tar.bz2
android_packages_apps_Snap-7b265a6b2f55c6ae7afc30e63ba324c4084a5d8e.zip
Fix the flash mode transition in video mode
onSwitchMode is wrongly overloaded, now is fixed. Basically, onCurrentDataChanged will handle the switching in and out of Camera. onDataFullScreenChange will handle full screen change on non-preview data. bug:10610967 Change-Id: I199a20d40d66b78302e90e0f96826d03076b0e39
Diffstat (limited to 'src/com/android/camera/CameraModule.java')
-rw-r--r--src/com/android/camera/CameraModule.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/camera/CameraModule.java b/src/com/android/camera/CameraModule.java
index bcfe98d65..1283a982c 100644
--- a/src/com/android/camera/CameraModule.java
+++ b/src/com/android/camera/CameraModule.java
@@ -19,14 +19,13 @@ package com.android.camera;
import android.content.Intent;
import android.content.res.Configuration;
import android.view.KeyEvent;
-import android.view.MotionEvent;
import android.view.View;
public interface CameraModule {
public void init(CameraActivity activity, View frame);
- public void onSwitchMode(boolean toCamera);
+ public void onPreviewFocusChanged(boolean previewFocused);
public void onPauseBeforeSuper();
@@ -60,8 +59,6 @@ public interface CameraModule {
public boolean updateStorageHintOnResume();
- public void updateCameraAppView();
-
public void onOrientationChanged(int orientation);
public void onShowSwitcherPopup();