Replace uses of CameraDevice#getCameraInfos() and CameraInfo
This API 1--specific portability library method has been removed. All
non-debugging direct uses of the Camera.CameraInfo class are also addressed by
this commit.
Change-Id: I551bb1476a26f79c101892336d0bf99e4fa823cc
diff --git a/src/com/android/camera/debug/DebugCameraProxy.java b/src/com/android/camera/debug/DebugCameraProxy.java
index 5485792..55b85af 100644
--- a/src/com/android/camera/debug/DebugCameraProxy.java
+++ b/src/com/android/camera/debug/DebugCameraProxy.java
@@ -21,8 +21,9 @@
import android.os.Handler;
import android.view.SurfaceHolder;
-import com.android.ex.camera2.portability.CameraCapabilities;
import com.android.ex.camera2.portability.CameraAgent;
+import com.android.ex.camera2.portability.CameraCapabilities;
+import com.android.ex.camera2.portability.CameraDeviceInfo;
import com.android.ex.camera2.portability.CameraSettings;
/**
@@ -57,6 +58,12 @@
}
@Override
+ public CameraDeviceInfo.Characteristics getCharacteristics() {
+ log("getCharacteristics");
+ return mProxy.getCharacteristics();
+ }
+
+ @Override
public CameraCapabilities getCapabilities() {
log("getCapabilities");
return mProxy.getCapabilities();