sm8250-common: tri-state-key: Fix vibrate position for op8p
This commit is contained in:
@@ -79,8 +79,10 @@ int main() {
|
||||
return;
|
||||
}
|
||||
|
||||
LOG(INFO) << uevent.state;
|
||||
|
||||
bool none = uevent.state.find("USB=0") != std::string::npos;
|
||||
bool vibration = uevent.state.find("USB_HOST=0") != std::string::npos;
|
||||
bool vibration = uevent.state.find("USB-HOST=0") != std::string::npos;
|
||||
bool silent = uevent.state.find("null)=0") != std::string::npos;
|
||||
|
||||
int keyCode;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
on fs
|
||||
start tri-state-key_daemon
|
||||
|
||||
service tri-state-key_daemon /system/bin/tri-state-key_daemon
|
||||
class late_start
|
||||
user system
|
||||
|
||||
Reference in New Issue
Block a user