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

Commit bef337f5 authored by Konstantin Lopyrev's avatar Konstantin Lopyrev
Browse files

Making sure the draw time is measured.

Change-Id: I6bf8094aee03793f125008386c4fea730e95d07a
parent 6ab94608
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -990,7 +990,8 @@ public class ViewDebug {
                            }
                        }) : 0;
        long durationDraw =
                (root || (view.mPrivateFlags & View.DRAWN) != 0) ? profileViewOperation(view,
                (root || !view.willNotDraw() || (view.mPrivateFlags & View.DRAWN) != 0) ? profileViewOperation(
                        view,
                        new ViewOperation<Object>() {
                            public Object[] pre() {
                                final DisplayMetrics metrics =