summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2020-10-28 11:40:09 -0500
committer Siarhei Vishniakou <svv@google.com> 2020-11-05 01:07:06 -0600
commitad991405ae73664f8dd751ef6b1de24332fea846 (patch)
tree5568d86db16ee4714a1f0d2975f2e516e2a76fb2 /services/surfaceflinger/RegionSamplingThread.cpp
parent9301db1be72d7a7faf05c9cb532a8a0444ab5497 (diff)
Add dump of pending focus requests
Assuming we are keeping this code, let's add a dump of pending focus requests for better debugging of focus-related issues. Since printing a token is pretty meaningless (and not clear how to do), we try to find the window associated with this token instead. Sample dump: mPendingFocusRequests: displayId=0, token->'Window{ff00537 u0 com.android.chrome/org.chromium.chrome.browser.firstrun.FirstRunActivity}', focusedToken->'<nullptr>' Bug: 171130500 Test: adb shell monkey 10000 then adb shell dumpsys input | grep -i focusreq -A 2 and see the output produced. Sample output is above Change-Id: Id99ae4f3253a5037b352b41ee108e19c7f6f8eb2
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions