summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc5.cpp
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2024-02-01 16:54:36 -0800
committer Yifan Hong <elsk@google.com> 2024-02-01 17:14:49 -0800
commit6b13e50920d2b6693861eed9c86e81939e05a12e (patch)
treeb0bf2973c71f0367bc31c112d4b8a595ece10b8c /libs/ui/Gralloc5.cpp
parentcb59ad9732e2e0b5edcf95a86c968e81cbe9a7a7 (diff)
lshal: flush at the end of Lshal::main().
The _exit() call in main() terminates the whole process early without debug information properly flushed. That is, the PipeRelay thread might have finished but the written data is not flushed. Hence properly flush at the end of Lshal::main to ensure the debug data is properly written to the output stream. Test: manually with adb shell lshal debug android.hardware.media.c2@1.2::IComponentStore/software Test: manually with adb bugreport then check lshal-debug/android.hardware.media.c2@1.2__IComponentStore_software.txt Bug: 323268003 Bug: 311143089 Change-Id: I792d778eaad0fcd58be12e57c864a1d4c79de2d6
Diffstat (limited to 'libs/ui/Gralloc5.cpp')
0 files changed, 0 insertions, 0 deletions