Revert "Adding main thread binder tracing in development build."

Revert submission 23482347-launcher-binder-tracing

Reason for revert: Broken Build 10242119 on git_master on errorprone b/285434612

Reverted changes: /q/submissionid:23482347-launcher-binder-tracing

Change-Id: Id9726474265e839a59d6eb34822e7a86d40f0fc9
This commit is contained in:
Santiago Aboy Solanes
2023-06-02 08:59:28 +00:00
committed by Android (Google) Code Review
parent 3db98b1152
commit ee846feb80
25 changed files with 1197 additions and 280 deletions

View File

@@ -201,7 +201,7 @@ public class LoaderTask implements Runnable {
}
}
TraceHelper.INSTANCE.beginSection(TAG);
Object traceToken = TraceHelper.INSTANCE.beginSection(TAG);
LoaderMemoryLogger memoryLogger = new LoaderMemoryLogger();
try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) {
List<ShortcutInfo> allShortcuts = new ArrayList<>();
@@ -325,7 +325,7 @@ public class LoaderTask implements Runnable {
memoryLogger.printLogs();
throw e;
}
TraceHelper.INSTANCE.endSection();
TraceHelper.INSTANCE.endSection(traceToken);
}
public synchronized void stopLocked() {