summaryrefslogtreecommitdiffstats
path: root/src_wrapper
diff options
context:
space:
mode:
authorjinwu <jinwu@codeaurora.org>2018-10-26 17:49:28 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-11-07 15:45:26 -0800
commite7c3825c2ef5fca2ed70d753ea32f2c042a3fa50 (patch)
treefd311882561600f1f3cca81d7010dfdb2c5b0d32 /src_wrapper
parent644a5781c1c3af5824875f45b9a6f23bc3ca775c (diff)
downloadandroid_packages_apps_Snap-e7c3825c2ef5fca2ed70d753ea32f2c042a3fa50.zip
android_packages_apps_Snap-e7c3825c2ef5fca2ed70d753ea32f2c042a3fa50.tar.gz
android_packages_apps_Snap-e7c3825c2ef5fca2ed70d753ea32f2c042a3fa50.tar.bz2
Remove CameraDataCallback.
Since it's for camera1 which is not supported in camx, remove it. Change-Id: If20ca6b63044722efbbfa3893baa7d1b039138e5
Diffstat (limited to 'src_wrapper')
-rwxr-xr-x[-rw-r--r--]src_wrapper/org/codeaurora/snapcam/wrapper/CameraWrapper.java36
1 files changed, 0 insertions, 36 deletions
diff --git a/src_wrapper/org/codeaurora/snapcam/wrapper/CameraWrapper.java b/src_wrapper/org/codeaurora/snapcam/wrapper/CameraWrapper.java
index 6739686..8078a38 100644..100755
--- a/src_wrapper/org/codeaurora/snapcam/wrapper/CameraWrapper.java
+++ b/src_wrapper/org/codeaurora/snapcam/wrapper/CameraWrapper.java
@@ -46,45 +46,9 @@ import android.hardware.Camera.ShutterCallback;
import android.util.Log;
import android.view.SurfaceHolder;
-import android.hardware.Camera.CameraMetaDataCallback;
-import android.hardware.Camera.CameraDataCallback;
-
public class CameraWrapper extends Wrapper{
private static Method method_setMetadataCb = null;
- public static final void setMetadataCb(Camera camera, CameraMetaDataCallback cb){
- if ( DEBUG ){
- Log.e(TAG, "" + Camera.class + " no setMetadataCb");
- return;
- }
- try{
- if ( method_setMetadataCb == null ){
- method_setMetadataCb = Camera.class.getMethod("setMetadataCb",
- android.hardware.Camera.CameraMetaDataCallback.class);
- }
- method_setMetadataCb.invoke(camera, cb);
- }catch (Exception exception){
- exception.printStackTrace();
- }
- }
-
-
- private static Method method_setHistogramMode = null;
- public static final void setHistogramMode(Camera camera, CameraDataCallback cb) {
- if ( DEBUG ){
- Log.e(TAG, "" + Camera.class + " no setHistogramMode");
- return;
- }
- try{
- if ( method_setHistogramMode == null ){
- method_setHistogramMode = Camera.class.getMethod("setHistogramMode",
- CameraDataCallback.class);
- }
- method_setHistogramMode.invoke(camera, cb);
- }catch (Exception exception){
- exception.printStackTrace();
- }
- }
private static Method method_sendHistogramData = null;
public static final void sendHistogramData(Camera camera){