diff options
author | Felipe Leme <felipeal@google.com> | 2019-09-16 17:52:07 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2019-09-26 16:45:43 -0700 |
commit | 4bc790d2326a097ed0e8db789f9afc0ec552c722 (patch) | |
tree | f1bb349944cb5758bfd0b37de0d9d487739647cb /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a56786981ea9451d533ecb432335370c4b8d5a02 (diff) |
Integrate pooled lambda with systrace.
Looper traces handler calls by calling Handler.getTraceName(), which when used with PooledLambda
ends up showing just:
"android.os.Handler: com.android.internal.util.function.pooled.PooledLambdaImpl"
That name doesn't help understand what's the real bottleneck, and even worse, could let people
think it's the PooledLambda who's causing it.
Which this change, it will display names like:
com.android.server.appop.AppOpsService$Lambda
com.android.server.wm$Lambda
Fixes: 141172840
Test: manual verification (neither PoolLambda nor Message have unit tests)
Change-Id: I80d2158a50a644b10f3724fb42a4a9c2aee63ae9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions