summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-06-13 16:20:39 -0700
committerDavid Anderson <dvander@google.com>2019-06-13 16:43:26 -0700
commit2e7df06ca98ca2649ed76d844ef26b8de0a250ae (patch)
tree158fc9f46aa08fe034d61393b0609f3617ef1a75 /libutils/Unicode.cpp
parent62765e39eeb646d8abb1d63672a77c51b3855eff (diff)
liblp: Remove the slot-suffix requirement in MetadataBuilder.
Normally MetadataBuilder will refuse to create non-suffixed partitions on A/B devices. There are some scenarios where this doesn't make sense, like when gsid needs to build metadata files for system_gsi/userdata_gsi. It also doesn't make sense for the "scratch" partition, so we added exceptions. It turns out that metadata created by gsid cannot be re-imported by MetadataBuilder, because there's no opportunity to set the "ignore" flag in MetadataBuilder's constructor. Rather than plumbing a flag through, I think we should just remove this error. It has too many exceptions already and it doesn't really protect against anything. The motivation was to avoid confusion in fastbootd on retrofit devices (where there are two super partitions), but it's a pretty minor concern. Bug: 134536978 Test: liblp_test gtest Change-Id: I4629a3c46070c35bcce1017096338e72aa234371
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions