Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fac77c46 authored by Zhijun He's avatar Zhijun He
Browse files

Camera2: send the partial result with onCaptureProgressed

When partial results are receieved, call onCaptureProgressed instead of
onCapturePartial.

Change-Id: If97233d7b980f490821bca0a722d527f19034cd9
parent e7127ff0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1095,7 +1095,7 @@ public class CameraDeviceImpl extends android.hardware.camera2.CameraDevice {
                        @Override
                        public void run() {
                            if (!CameraDeviceImpl.this.isClosed()){
                                holder.getListener().onCapturePartial(
                                holder.getListener().onCaptureProgressed(
                                    CameraDeviceImpl.this,
                                    request,
                                    resultAsCapture);