diff options
author | Yi Jin <jinyithu@google.com> | 2017-08-04 11:30:44 -0700 |
---|---|---|
committer | Yi Jin <jinyithu@google.com> | 2017-08-04 20:52:53 +0000 |
commit | 0248336d4c6f655830e7db608e4387b9d33d8cc6 (patch) | |
tree | fd577d1642ac9f4092ec1b9ea04330a956299edd /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 57fe3036aa8c76a3f297648bf4401520b5a58e0f (diff) |
Only replace new line characters if the wakelock name contains one
The original operation creates new string everytime which is expensive
Bug: 64272195
Test: NA
Change-Id: Id93d588a7d5a6b6c192a057fcd4296bd1c508516
(cherry picked from commit 85291508602120e78918e69f760182d1233df789)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions