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