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

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

Camera2: add missing HFR implementation

Bug: 21442271
Change-Id: I08c0a5b75ccb0f737013026511cfe3bf9e15c744
parent a73c8b6f
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -155,7 +155,7 @@ public class CameraCaptureSessionImpl extends CameraCaptureSession {
        if (mIsConstrainedHighSpeedSession) {
        if (mIsConstrainedHighSpeedSession) {
            if (!isConstrainedHighSpeedRequestList(requestList)) {
            if (!isConstrainedHighSpeedRequestList(requestList)) {
                throw new IllegalArgumentException("It is only allowed to submit a constrained "
                throw new IllegalArgumentException("It is only allowed to submit a constrained "
                        + "high speed request list to a constrianed high speed session!!!");
                        + "high speed request list to a constrained high speed session!!!");
            }
            }
        }
        }
    }
    }
@@ -761,8 +761,7 @@ public class CameraCaptureSessionImpl extends CameraCaptureSession {


    @Override
    @Override
    public boolean isConstrainedHighSpeed() {
    public boolean isConstrainedHighSpeed() {
        // TODO: to be implemented
        return mIsConstrainedHighSpeedSession;
        return false;
    }
    }


}
}