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

Skip to content
Commit 6718881c authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

[frameworks/native] Make MemoryReporter::TraceValue own its string

TraceValue had an unowned pointer to a const char (string). But there
was no guarantee that the string lived long enough for TraceValue's use.
Switch to an owned string type.

Bug: 305919946
Test: adb shell dumpsys SurfaceFlinger
Change-Id: I30b990771cc7f3ccf2769efc5aafb68c957eca9f
parent 64edb6c4
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