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

Merge commit 'f2af87b39b294a197b9a7aaa611a14cfcd669a16' into gingerbread-plus-aosp

* commit 'f2af87b39b294a197b9a7aaa611a14cfcd669a16':
  Making sure the draw time is measured.
This commit is contained in:
Konstantin Lopyrev
2010-08-18 13:39:29 -07:00
committed by Android Git Automerger

View File

@@ -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 =