diff options
| author | 2021-02-22 10:30:40 -0800 | |
|---|---|---|
| committer | 2021-02-24 20:46:09 -0800 | |
| commit | d193677e001bcc630a5e3bf1da717e1b6321b569 (patch) | |
| tree | 35027d94d6cc9147ae5a9790f2009a4f38552b3d /libs/input/KeyLayoutMap.cpp | |
| parent | 329808e195760ea0b1984b7878693da457837a55 (diff) | |
Remove the trailing new line from output of sysfs capacity_level file.
Some input device kernel driver populates capacity_level string with
new line, need to trim it before looking it up.
Bug: 180925649
Test: Manual test with Nintendo Switch Pro controller
Change-Id: Iae1744075c56ad7f95060d07bfe9f254e1a5f3dc
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions