diff options
| author | 2023-11-16 21:16:14 +0000 | |
|---|---|---|
| committer | 2023-11-16 21:16:14 +0000 | |
| commit | fe13d8ecfbe21548ddbdb1c6a19f2152822ef9ab (patch) | |
| tree | 9e57ce44b7ed923f8a707fdf6228a2ab7f2a3b5a /libs/androidfw/ResourceTimer.cpp | |
| parent | 3397af24a31e0956fd2b643a440b99387b189b83 (diff) | |
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions