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

Commit 14fbb207 authored by Lalit Maganti's avatar Lalit Maganti
Browse files

base: remove unused deprecated tracing method

All users of this have been migrated to the replacement so let's remove
this to avoid misleading people.

Bug: 259535570
Change-Id: Idf7b86e527237b15b46e39655c85604a68e344fc
parent 2fb65e66
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.
     *