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
This commit is contained in:
@@ -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(),
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user