Merge "Making sure the draw time is measured." into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
f2af87b39b
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user