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

Commit 79a230f7 authored by Yusuke Sato's avatar Yusuke Sato Committed by Android (Google) Code Review
Browse files

Merge "Add tracing calls for bootanim"

parents 7577c46a 46e01e92
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5198,6 +5198,7 @@ public class WindowManagerService extends IWindowManager.Stub

            if (!mBootAnimationStopped) {
                // Do this one time.
                Trace.asyncTraceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "Stop bootanim", 0);
                try {
                    IBinder surfaceFlinger = ServiceManager.getService("SurfaceFlinger");
                    if (surfaceFlinger != null) {
@@ -5220,6 +5221,7 @@ public class WindowManagerService extends IWindowManager.Stub
            }

            EventLog.writeEvent(EventLogTags.WM_BOOT_ANIMATION_DONE, SystemClock.uptimeMillis());
            Trace.asyncTraceEnd(Trace.TRACE_TAG_WINDOW_MANAGER, "Stop bootanim", 0);
            mDisplayEnabled = true;
            if (DEBUG_SCREEN_ON || DEBUG_BOOT) Slog.i(TAG, "******************** ENABLING SCREEN!");