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

Commit baca51ef authored by Lalit Maganti's avatar Lalit Maganti
Browse files

frameworks: migrate use of deprecated asyncTraceForTrackEnd function

This function was deprecated and is going to be removed in a followup so
migrate to the replacement function which no longer takes a trace name.

Bug: 259535570
Change-Id: Iec107bd349ef3a01886c4ee8759fdd52dcb2c6e8
parent 5a282451
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ public class ScrollCaptureConnection extends IScrollCaptureConnection.Stub imple
            close();
        }
        mCancellation = null;
        Trace.asyncTraceForTrackEnd(TRACE_TAG_GRAPHICS, TRACE_TRACK, START_CAPTURE, mTraceId);
        Trace.asyncTraceForTrackEnd(TRACE_TAG_GRAPHICS, TRACE_TRACK, mTraceId);
    }

    @BinderThread
@@ -164,7 +164,7 @@ public class ScrollCaptureConnection extends IScrollCaptureConnection.Stub imple
        } finally {
            mCancellation = null;
        }
        Trace.asyncTraceForTrackEnd(TRACE_TAG_GRAPHICS, TRACE_TRACK, REQUEST_IMAGE, mTraceId);
        Trace.asyncTraceForTrackEnd(TRACE_TAG_GRAPHICS, TRACE_TRACK, mTraceId);
    }

    @BinderThread
@@ -200,8 +200,8 @@ public class ScrollCaptureConnection extends IScrollCaptureConnection.Stub imple
            mCancellation = null;
            close();
        }
        Trace.asyncTraceForTrackEnd(TRACE_TAG_GRAPHICS, TRACE_TRACK, END_CAPTURE, mTraceId);
        Trace.asyncTraceForTrackEnd(TRACE_TAG_GRAPHICS, TRACE_TRACK, SESSION, mTraceId);
        Trace.asyncTraceForTrackEnd(TRACE_TAG_GRAPHICS, TRACE_TRACK, mTraceId);
        Trace.asyncTraceForTrackEnd(TRACE_TAG_GRAPHICS, TRACE_TRACK, mTraceId);
    }

    @Override