| commit | 43dfda59aed7d96ff5c2538439a4f05f3e5d3ff0 | [log] [tgz] |
|---|---|---|
| author | Shuangxi Xiang <xiangshuangxi@xiaomi.corp-partner.google.com> | Tue Jul 08 07:27:09 2025 -0700 |
| committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Jul 08 07:27:09 2025 -0700 |
| tree | 64c2f9cb1f216bae9c92142e97a9048f31035307 | |
| parent | 40acc9a7c651e2b700c3438944f73e34de96bc15 [diff] |
Code style optimization in setArgv0 Here, 15 is equal to the length of the kernel task name minus 1. Replacing 15 with a constant type improves readability, maintainability, and robustness. Although it does not directly affect performance, it can significantly reduce future maintenance costs and meet code specification requirements. Signed-off-by: xiangshuangxi <xiangshuangxi@xiaomi.com> (cherry picked from https://android-review.googlesource.com/q/commit:c724356019eaa1b62c74a1515e046c0fce1ed0b5) Merged-In: I0df041c08f216fa89e987a8178d7933dca274a2a Change-Id: I0df041c08f216fa89e987a8178d7933dca274a2a