+5
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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