Merge "Fix cert-dcl16-c clang-tidy warnings" am: 48d500c9e3 am: 71062f3f98

am: d93a0ebf49

Change-Id: Id249d36d6f6c3be45c9d426365ce69e85a05269b
This commit is contained in:
Chih-Hung Hsieh 2018-12-13 14:56:58 -08:00 committed by android-build-merger
commit 3f0f82b63d

View file

@ -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;