summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/DisplayDevice.cpp
diff options
context:
space:
mode:
author Andy Yu <chingtangyu@google.com> 2024-01-23 17:14:23 -0800
committer Andy Yu <chingtangyu@google.com> 2024-01-24 14:49:14 -0800
commitaef688b413a80a8807e6ed2609b6477448b95c02 (patch)
treeec642f92af7c5c37f39f56ec337bbf6fcc9737d1 /services/surfaceflinger/DisplayDevice.cpp
parent8d5f542117255192baa81d1029d6224b1bd21c47 (diff)
[SF] Use LayerHierarchy traverse() for FpsReporter
The legacy layer state traverse function which FpsReporter uses is not working currently as it will not properly get to the root layer where the taskId resides and thus not getting a matching taskId with the callbacks from game dashboard. This patch updates FpsReporter to use LaterHierarchy traverse function which works as expected to return the correct taskId in the root layer. Bug: 316111174 Test: libsurfaceflinger_unittest Test: libsurfaceflinger_unittest:FpsReporterTest Change-Id: Icec40488289a563967b282a078515b52322a55db
Diffstat (limited to 'services/surfaceflinger/DisplayDevice.cpp')
0 files changed, 0 insertions, 0 deletions