diff options
Diffstat (limited to 'core/java/android/hardware/camera2/impl/CallbackProxies.java')
-rw-r--r-- | core/java/android/hardware/camera2/impl/CallbackProxies.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/hardware/camera2/impl/CallbackProxies.java b/core/java/android/hardware/camera2/impl/CallbackProxies.java index f0217ac..dac2ef8 100644 --- a/core/java/android/hardware/camera2/impl/CallbackProxies.java +++ b/core/java/android/hardware/camera2/impl/CallbackProxies.java @@ -23,6 +23,7 @@ import android.hardware.camera2.CaptureResult; import android.hardware.camera2.TotalCaptureResult; import android.hardware.camera2.dispatch.Dispatchable; import android.hardware.camera2.dispatch.MethodNameInvoker; +import android.view.Surface; import static com.android.internal.util.Preconditions.*; @@ -175,6 +176,12 @@ public class CallbackProxies { public void onClosed(CameraCaptureSession session) { mProxy.invoke("onClosed", session); } + + @Override + public void onSurfacePrepared(CameraCaptureSession session, Surface surface) { + mProxy.invoke("onSurfacePrepared", session, surface); + } + } private CallbackProxies() { |