commit | 3062381d17948f5c60f71a3ed24d27e526db6e59 | [log] [tgz] |
---|---|---|
author | Wenhui Yang <wenhuiy@google.com> | Mon Oct 28 17:57:29 2024 +0000 |
committer | Wenhui Yang <wenhuiy@google.com> | Mon Oct 28 21:55:16 2024 +0000 |
tree | a5e5b902ec529cef2c585a932f186d3b0b8a5082 | |
parent | 150a881b7dfeb52fba05c556ef46b8c3c95861c3 [diff] [blame] |
Include PID and UID in offscreen hierarchy dumping Fixes: 374625249 Test: adb shell su root dumpsys SurfaceFlinger Flag: EXEMPT bugfix Change-Id: I725aee1405f29c7e1db61d939cbd4abb8e3bc3d9
diff --git a/services/surfaceflinger/FrontEnd/LayerHierarchy.cpp b/services/surfaceflinger/FrontEnd/LayerHierarchy.cpp index d709530..da536b6 100644 --- a/services/surfaceflinger/FrontEnd/LayerHierarchy.cpp +++ b/services/surfaceflinger/FrontEnd/LayerHierarchy.cpp
@@ -166,7 +166,8 @@ } out << "(Mirroring) "; } - out << *mLayer; + + out << *mLayer << " pid=" << mLayer->ownerPid.val() << " uid=" << mLayer->ownerUid.val(); } for (size_t i = 0; i < mChildren.size(); i++) {