Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f0f25888 authored by Kean Mariotti's avatar Kean Mariotti
Browse files

Fix output stream creation in layertracegenerator

layertracegenerator creates the output layers trace file specifying
std::ios::app (append mode). Meaning, if an output file already exists
layertracegenerator appends the new layers trace to it.

This commit solves the issue replacing std::ios::app with std::ios::out.

Bug: 301539901
Test: execute multiple times \
    adb shell layertracegenerator transaction.winscope test.winscope
    and make sure the size of test.winscope remains constant \
    and doesn't increase after each execution of layertracegenerator
Change-Id: I23bf4e689cee450b055a0451aa0301ce34131739
parent a95ab8dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment