mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: parts hidl: Improve readabilty
This commit is contained in:
parent
7a9bbf0e14
commit
6458328df5
1 changed files with 3 additions and 3 deletions
|
|
@ -27,11 +27,11 @@ Return<void> DisplayConfigs::writeDisplay(parts::V1_0::Number enable,
|
|||
} else if (type == Display::GLOVE_MODE) {
|
||||
writevalue = "glove_mode";
|
||||
}
|
||||
|
||||
writevalue += ",";
|
||||
if (enable == Number::ENABLE) {
|
||||
writevalue += ",1";
|
||||
writevalue += "1";
|
||||
} else {
|
||||
writevalue += ",0";
|
||||
writevalue += "0";
|
||||
}
|
||||
file.open("/sys/class/sec/tsp/cmd");
|
||||
file << writevalue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue