Description:amend error code

Match-id-7da8cabd9c6b2dbbba9a8f268393b84446fc50f6
This commit is contained in:
xxxx
2022-07-27 16:46:20 +08:00
parent abaa7bb19e
commit fb68cc3455
116 changed files with 513 additions and 499 deletions
+1 -1
View File
@@ -452,7 +452,7 @@ int32_t InputHub::OpenInputDeviceLocked(const std::string& devicePath)
}
GenerateDescriptor(identifier);
// Allocate device. (The device object takes ownership of the fd at this point.)
// Allocate device. (The device object takes ownership of the fd at this point.)
int32_t deviceId = nextDeviceId_++;
std::unique_ptr<Device> device = std::make_unique<Device>(fd, deviceId, devicePath, identifier);