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

Skip to content
Commit fe13d8ec authored by Jared Duke's avatar Jared Duke
Browse files

Optimize AppOpsManager.getFormattedStackTrace

Avoid redundant toString() calls for a given StackTraceElement when
fetching the formatted stack trace for an Op. This call is not trivially
cheap, and shows up in system stack samples, so make sure it only
happens once.

Bug: 308786093
Test: m + presubmit
Change-Id: I463addc4995b1553ff4b22e712208557ab4a663c
parent 3397af24
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