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

Commit f2af87b3 authored by Konstantin Lopyrev's avatar Konstantin Lopyrev Committed by Android (Google) Code Review
Browse files

Merge "Making sure the draw time is measured." into gingerbread

parents c4554b9a bef337f5
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 =