Merge "Add uid to sensorservice's dump of active connections"
This commit is contained in:
commit
f72aa27a2a
@ -750,11 +750,12 @@ void SensorService::SensorEventConnection::dump(String8& result) {
|
||||
Mutex::Autolock _l(mConnectionLock);
|
||||
for (size_t i = 0; i < mSensorInfo.size(); ++i) {
|
||||
const FlushInfo& flushInfo = mSensorInfo.valueAt(i);
|
||||
result.appendFormat("\t %s | status: %s | pending flush events %d\n",
|
||||
result.appendFormat("\t %s | status: %s | pending flush events %d | uid %d\n",
|
||||
mService->getSensorName(mSensorInfo.keyAt(i)).string(),
|
||||
flushInfo.mFirstFlushPending ? "First flush pending" :
|
||||
"active",
|
||||
flushInfo.mPendingFlushEventsToSend);
|
||||
flushInfo.mPendingFlushEventsToSend,
|
||||
mUid);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user