am 899891ec: am 0b6acb22: Add version number to SensorService dump output.

* commit '899891ec95c0581d35f47db7bdea75bd49fdca1b':
  Add version number to SensorService dump output.
This commit is contained in:
Aravind Akella 2014-10-19 21:23:55 +00:00 committed by Android Git Automerger
commit f65fba5cc9

View File

@ -243,9 +243,10 @@ status_t SensorService::dump(int fd, const Vector<String16>& /*args*/)
const Sensor& s(mSensorList[i]);
const sensors_event_t& e(mLastEventSeen.valueFor(s.getHandle()));
result.appendFormat(
"%-15s| %-10s| %-20s| 0x%08x | \"%s\" | type=%d |",
"%-15s| %-10s| version=%d |%-20s| 0x%08x | \"%s\" | type=%d |",
s.getName().string(),
s.getVendor().string(),
s.getVersion(),
s.getStringType().string(),
s.getHandle(),
s.getRequiredPermission().string(),