Enabling app tracing for Launcher
Bug: 273718665 Test: None Flag: N/A Change-Id: Ie6fa50b602bf180dd5dcba999c9e18f07a17d589
This commit is contained in:
1 parent
b73bafc52a
commit
a8209d5da9
1 file changed
+6
@@ -19,6 +19,8 @@ import android.annotation.TargetApi;
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Build;
|
||||
import android.os.Looper;
|
||||
import android.os.Trace;
|
||||
import android.os.UserManager;
|
||||
import android.util.Log;
|
||||
import android.view.ThreadedRenderer;
|
||||
@@ -60,5 +62,9 @@ public class QuickstepProcessInitializer extends MainProcessInitializer {
|
||||
// Elevate GPU priority for Quickstep and Remote animations.
|
||||
ThreadedRenderer.setContextPriority(
|
||||
ThreadedRenderer.EGL_CONTEXT_PRIORITY_HIGH_IMG);
|
||||
|
||||
// Enable Looper trace points.
|
||||
// This allows us to see Handler callbacks on traces.
|
||||
Looper.getMainLooper().setTraceTag(Trace.TRACE_TAG_APP);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user