diff --git a/debuggerd/libdebuggerd/tombstone_proto.cpp b/debuggerd/libdebuggerd/tombstone_proto.cpp index 7b2e0689e..56f38fa03 100644 --- a/debuggerd/libdebuggerd/tombstone_proto.cpp +++ b/debuggerd/libdebuggerd/tombstone_proto.cpp @@ -622,6 +622,7 @@ void engrave_tombstone_proto(Tombstone* tombstone, unwindstack::AndroidUnwinder* Tombstone result; result.set_arch(get_arch()); + result.set_aospa_version(android::base::GetProperty("ro.aospa.version", "unknown")); result.set_build_fingerprint(android::base::GetProperty("ro.build.fingerprint", "unknown")); result.set_revision(android::base::GetProperty("ro.revision", "unknown")); result.set_timestamp(get_timestamp()); diff --git a/debuggerd/libdebuggerd/tombstone_proto_to_text.cpp b/debuggerd/libdebuggerd/tombstone_proto_to_text.cpp index 8e6abdfa1..25f8ad1d7 100644 --- a/debuggerd/libdebuggerd/tombstone_proto_to_text.cpp +++ b/debuggerd/libdebuggerd/tombstone_proto_to_text.cpp @@ -512,6 +512,7 @@ void print_logs(CallbackType callback, const Tombstone& tombstone, int tail) { bool tombstone_proto_to_text(const Tombstone& tombstone, CallbackType callback) { CBL("*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***"); + CBL("AOSPA Version: '%s'", tombstone.aospa_version().c_str()); CBL("Build fingerprint: '%s'", tombstone.build_fingerprint().c_str()); CBL("Revision: '%s'", tombstone.revision().c_str()); CBL("ABI: '%s'", abi_string(tombstone)); diff --git a/debuggerd/proto/tombstone.proto b/debuggerd/proto/tombstone.proto index 49865a2bb..67204dc83 100644 --- a/debuggerd/proto/tombstone.proto +++ b/debuggerd/proto/tombstone.proto @@ -17,6 +17,7 @@ option java_outer_classname = "TombstoneProtos"; message Tombstone { Architecture arch = 1; + string aospa_version = 1000; string build_fingerprint = 2; string revision = 3; string timestamp = 4;