OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea1aa91
)
SensorList: Don't output UUIDs
author
Greg Kaiser
<gkaiser@google.com>
Fri, 17 Jun 2016 22:27:12 +0000
(15:27 -0700)
committer
Greg Kaiser
<gkaiser@google.com>
Fri, 17 Jun 2016 22:27:12 +0000
(15:27 -0700)
We don't want the UUIDs of dynamic sensors to be in the logs.
Bug:
28775590
Change-Id: I85ca83e0ad1a0a8ed6618999bd22d86d7ef972f9
services/sensorservice/SensorList.cpp
patch
|
blob
|
history
diff --git
a/services/sensorservice/SensorList.cpp
b/services/sensorservice/SensorList.cpp
index
f6d3d94
..
e0101c1
100644
(file)
--- a/
services/sensorservice/SensorList.cpp
+++ b/
services/sensorservice/SensorList.cpp
@@
-178,14
+178,7
@@
std::string SensorList::dump() const {
if (s.hasAdditionalInfo()) {
result.appendFormat("has-additional-info, ");
}
- result.append("| ");
- if (s.isDynamicSensor()) {
- result.append("uuid: ");
- for (uint8_t i : s.getUuid().b) {
- result.appendFormat("%02x", i);
- }
- }
result.append("\n");
return true;
});