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

Commit 2d9a18e0 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by Android (Google) Code Review
Browse files

Merge "Camera2: Fix return type of CaptureFailure#getFrameNumber" into lmp-dev

parents 6fc6748f edecaee1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12981,7 +12981,7 @@ package android.hardware.camera2 {
  }
  public class CaptureFailure {
    method public int getFrameNumber();
    method public long getFrameNumber();
    method public int getReason();
    method public android.hardware.camera2.CaptureRequest getRequest();
    method public int getSequenceId();
+4 −4
Original line number Diff line number Diff line
@@ -47,13 +47,13 @@ public class CaptureFailure {
    private final int mReason;
    private final boolean mDropped;
    private final int mSequenceId;
    private final int mFrameNumber;
    private final long mFrameNumber;

    /**
     * @hide
     */
    public CaptureFailure(CaptureRequest request, int reason, boolean dropped, int sequenceId,
            int frameNumber) {
            long frameNumber) {
        mRequest = request;
        mReason = reason;
        mDropped = dropped;
@@ -95,9 +95,9 @@ public class CaptureFailure {
     * for every new result or failure; and the scope is the lifetime of the
     * {@link CameraDevice}.</p>
     *
     * @return int frame number
     * @return long frame number
     */
    public int getFrameNumber() {
    public long getFrameNumber() {
        return mFrameNumber;
    }