summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-10-25 16:54:33 +0800
committerRiddle Hsu <riddlehsu@google.com>2019-11-06 20:58:19 +0800
commitc1f8f9cbfc879ac5955c73877a14fb7689eb5b65 (patch)
tree9b76ccd0f6eca58eda25b9a5ba81da9807cd6bee /libs/hwui/renderthread/CacheManager.cpp
parent94da14c5ae62c6d9b8d9b58a341d3271702c1769 (diff)
Postpone reporting fully drawn until app is drawn
"Fully drawn" should stand for an usable state of the application. If its window hasn't drawn, the early reported time may not close to the real use case. This change ensures that "Fully drawn" is at least >= "Displayed". Bug: 131713448 Test: atest ActivityMetricsLaunchObserverTests#testOnReportFullyDrawn Test: Launch an application (e.g. Settings) that invokes Activity#reportFullyDrawn in an early stage. The printed duration of "Displayed" and "Fully drawn" should show the same time. Change-Id: Id37425436dc564fc657f0777db8e0f056bbb748d
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions