Making sure the draw time is measured.
Change-Id: I6bf8094aee03793f125008386c4fea730e95d07a
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