Merge "Fix cert-dcl16-c clang-tidy warnings" am: 48d500c9e3
am: 71062f3f98
am: d93a0ebf49
Change-Id: Id249d36d6f6c3be45c9d426365ce69e85a05269b
This commit is contained in:
commit
3f0f82b63d
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ const std::string CUSTOM_TYPE_PREFIX("com.google.hardware.sensor.hid_dynamic.");
|
|||
HidRawSensor::HidRawSensor(
|
||||
SP(HidDevice) device, uint32_t usage, const std::vector<HidParser::ReportPacket> &packets)
|
||||
: mReportingStateId(-1), mPowerStateId(-1), mReportIntervalId(-1), mInputReportId(-1),
|
||||
mEnabled(false), mSamplingPeriod(1000ll*1000*1000), mBatchingPeriod(0),
|
||||
mEnabled(false), mSamplingPeriod(1000LL*1000*1000), mBatchingPeriod(0),
|
||||
mDevice(device), mValid(false) {
|
||||
if (device == nullptr) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue