commit | fbedf6e96cf27a7641b8d7f72b0be190aaded88f | [log] [tgz] |
---|---|---|
author | Jan Sebechlebsky <jsebechlebsky@google.com> | Tue Nov 21 10:04:12 2023 +0100 |
committer | Ján Sebechlebský <jsebechlebsky@google.com> | Tue Nov 21 21:29:09 2023 +0000 |
tree | 1325c49c06876dbf55d328c5df4cee7b6282cc20 | |
parent | 703c97871bcc531ea24bf607f5e9c60365d10b89 [diff] |
Add onProcessCaptureRequest to IVirtualCameraCallback Bug: 301023410 Test: atest virtual_camera_tests Change-Id: I91c4b9d0f60b378620e968de8f0262082b4fb05c
diff --git a/services/companion/java/com/android/server/companion/virtual/camera/VirtualCameraConversionUtil.java b/services/companion/java/com/android/server/companion/virtual/camera/VirtualCameraConversionUtil.java index a570d09..6940ffe 100644 --- a/services/companion/java/com/android/server/companion/virtual/camera/VirtualCameraConversionUtil.java +++ b/services/companion/java/com/android/server/companion/virtual/camera/VirtualCameraConversionUtil.java
@@ -69,6 +69,11 @@ } @Override + public void onProcessCaptureRequest(int streamId, int frameId) throws RemoteException { + camera.onProcessCaptureRequest(streamId, frameId, /*metadata=*/ null); + } + + @Override public void onStreamClosed(int streamId) throws RemoteException { camera.onStreamClosed(streamId); }