aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/linux/minidump_writer/minidump_writer.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc
index 43c1ef2c..fa2ad9e1 100644
--- a/src/client/linux/minidump_writer/minidump_writer.cc
+++ b/src/client/linux/minidump_writer/minidump_writer.cc
@@ -1758,23 +1758,6 @@ class MinidumpWriter {
space_left -= info_len;
}
-#ifdef __ANDROID__
- // On Android, try to get the build fingerprint and append it.
- // Fail gracefully because there is no guarantee that the system
- // property will always be available or accessible.
- char fingerprint[PROP_VALUE_MAX];
- int fingerprint_len = __system_property_get("ro.build.fingerprint",
- fingerprint);
- // System property values shall always be zero-terminated.
- // Be paranoid and don't trust the system.
- if (fingerprint_len > 0 && fingerprint_len < PROP_VALUE_MAX) {
- const char* separator = " ";
- if (!first_item)
- my_strlcat(buf, separator, sizeof(buf));
- my_strlcat(buf, fingerprint, sizeof(buf));
- }
-#endif
-
MDLocationDescriptor location;
if (!minidump_writer_.WriteString(buf, 0, &location))
return false;