Add newlines to clarify the comments

Bug: 150830099

Test: format only
Change-Id: Icdcb5f8587e3d95c3d707f0f843824989fde064b
This commit is contained in:
Yu-Han Yang
2020-03-06 12:50:39 -08:00
parent 3d652709ed
commit 9cc3aae973
3 changed files with 7 additions and 0 deletions

View File

@@ -63,9 +63,11 @@ struct GnssMeasurement : public IGnssMeasurement {
// Guarded by mMutex
static sp<IGnssMeasurementCallback> sCallback;
std::atomic<long> mMinIntervalMillis;
std::atomic<bool> mIsActive;
std::thread mThread;
// Synchronization lock for sCallback
mutable std::mutex mMutex;
};

View File

@@ -49,9 +49,11 @@ struct GnssAntennaInfo : public IGnssAntennaInfo {
// Guarded by mMutex
static sp<IGnssAntennaInfoCallback> sCallback;
std::atomic<long> mMinIntervalMillis;
std::atomic<bool> mIsActive;
std::thread mThread;
// Synchronization lock for sCallback
mutable std::mutex mMutex;
};

View File

@@ -68,11 +68,14 @@ struct GnssMeasurement : public IGnssMeasurement {
// Guarded by mMutex
static sp<V2_1::IGnssMeasurementCallback> sCallback_2_1;
// Guarded by mMutex
static sp<V2_0::IGnssMeasurementCallback> sCallback_2_0;
std::atomic<long> mMinIntervalMillis;
std::atomic<bool> mIsActive;
std::thread mThread;
// Synchronization lock for sCallback_2_1 and sCallback_2_0
mutable std::mutex mMutex;
};