Revert "Revert "Adding main thread binder tracing in development..."
Revert submission 23522417-revert-23482347-launcher-binder-tracing-RBUMTFPXQG Reason for revert: Fixed broken build Reverted changes: /q/submissionid:23522417-revert-23482347-launcher-binder-tracing-RBUMTFPXQG Change-Id: I3e130a780b8641c4a17a5cdf799513f2ba08b16e
This commit is contained in:
1 parent
c41af6d681
commit
6773667e34
25 files changed
+293
-1197
No files matched your search
@@ -66,5 +66,10 @@ public class QuickstepProcessInitializer extends MainProcessInitializer {
|
||||
// Enable Looper trace points.
|
||||
// This allows us to see Handler callbacks on traces.
|
||||
Looper.getMainLooper().setTraceTag(Trace.TRACE_TAG_APP);
|
||||
|
||||
if (BuildConfig.IS_STUDIO_BUILD) {
|
||||
BinderTracker.startTracking(call -> Log.e("BinderCall",
|
||||
call.descriptor + " called on mainthread under " + call.activeTrace));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user