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

Commit 6c00431d authored by Lalit Maganti's avatar Lalit Maganti Committed by Android (Google) Code Review
Browse files

Merge "base: remove unused deprecated tracing method"

parents bf3823e8 14fbb207
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1193,7 +1193,7 @@ public final class JobServiceContext implements ServiceConnection {
                completedJob.isConstraintSatisfied(JobStatus.CONSTRAINT_CONTENT_TRIGGER));
        if (Trace.isTagEnabled(Trace.TRACE_TAG_SYSTEM_SERVER)) {
            Trace.asyncTraceForTrackEnd(Trace.TRACE_TAG_SYSTEM_SERVER, "JobScheduler",
                    completedJob.getTag(), getId());
                    getId());
        }
        try {
            mBatteryStats.noteJobFinish(mRunningJob.getBatteryName(), mRunningJob.getSourceUid(),
+0 −1
Original line number Diff line number Diff line
@@ -1080,7 +1080,6 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac
            if (mForegroundServiceTraceTitle != null) {
                Trace.asyncTraceForTrackEnd(TRACE_TAG_ACTIVITY_MANAGER,
                        TRACE_TRACK_NAME_FOREGROUND_SERVICE,
                        mForegroundServiceTraceTitle,
                        System.identityHashCode(this));
                mForegroundServiceTraceTitle = null;
            }
+0 −13
Original line number Diff line number Diff line
@@ -394,19 +394,6 @@ public final class Trace {
        }
    }

    /**
     * @deprecated use asyncTraceForTrackEnd without methodName argument
     *
     * @hide
     */
    @Deprecated
    public static void asyncTraceForTrackEnd(long traceTag,
            @NonNull String trackName, @NonNull String methodName, int cookie) {
        if (isTagEnabled(traceTag)) {
            nativeAsyncTraceForTrackEnd(traceTag, trackName, cookie);
        }
    }

    /**
     * Writes a trace message to indicate that a given section of code was invoked.
     *