diff options
| author | 2024-10-28 17:57:29 +0000 | |
|---|---|---|
| committer | 2024-10-28 21:55:16 +0000 | |
| commit | 3062381d17948f5c60f71a3ed24d27e526db6e59 (patch) | |
| tree | a5e5b902ec529cef2c585a932f186d3b0b8a5082 | |
| parent | 150a881b7dfeb52fba05c556ef46b8c3c95861c3 (diff) | |
Include PID and UID in offscreen hierarchy dumping
Fixes: 374625249
Test: adb shell su root dumpsys SurfaceFlinger
Flag: EXEMPT bugfix
Change-Id: I725aee1405f29c7e1db61d939cbd4abb8e3bc3d9
| -rw-r--r-- | services/surfaceflinger/FrontEnd/LayerHierarchy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/surfaceflinger/FrontEnd/LayerHierarchy.cpp b/services/surfaceflinger/FrontEnd/LayerHierarchy.cpp index d709530990..da536b6660 100644 --- a/services/surfaceflinger/FrontEnd/LayerHierarchy.cpp +++ b/services/surfaceflinger/FrontEnd/LayerHierarchy.cpp @@ -166,7 +166,8 @@ void LayerHierarchy::dump(std::ostream& out, const std::string& prefix, } out << "(Mirroring) "; } - out << *mLayer; + + out << *mLayer << " pid=" << mLayer->ownerPid.val() << " uid=" << mLayer->ownerUid.val(); } for (size_t i = 0; i < mChildren.size(); i++) { |