From 817cab0e422f381c70e0668505d6ea557e5de28e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 27 Aug 2019 13:44:48 -0700 Subject: Update lpdump to recognize LP_PARTITION_ATTR_UPDATED. Bug: 139154795 Test: lpdump after update Change-Id: I4cbfe80c15cfa0afe3e9d37e3f8818016e57daa2 --- partition_tools/lpdump.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/partition_tools/lpdump.cc b/partition_tools/lpdump.cc index 3c1499e3..302e2840 100644 --- a/partition_tools/lpdump.cc +++ b/partition_tools/lpdump.cc @@ -72,6 +72,7 @@ static std::string BuildAttributeString(uint32_t attrs) { std::vector strings; if (attrs & LP_PARTITION_ATTR_READONLY) strings.emplace_back("readonly"); if (attrs & LP_PARTITION_ATTR_SLOT_SUFFIXED) strings.emplace_back("slot-suffixed"); + if (attrs & LP_PARTITION_ATTR_UPDATED) strings.emplace_back("updated"); return BuildFlagString(strings); } -- cgit v1.2.3