commit | 0248336d4c6f655830e7db608e4387b9d33d8cc6 | [log] [tgz] |
---|---|---|
author | Yi Jin <jinyithu@google.com> | Fri Aug 04 11:30:44 2017 -0700 |
committer | Yi Jin <jinyithu@google.com> | Fri Aug 04 20:52:53 2017 +0000 |
tree | fd577d1642ac9f4092ec1b9ea04330a956299edd | |
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)