summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorDavid Pursell <dpursell@google.com>2016-12-15 16:16:10 -0800
committerDavid Pursell <dpursell@google.com>2016-12-15 16:27:48 -0800
commitf63f63ae1f22c9c55bf998fd382176d4fe4ad9a0 (patch)
tree51a08e3b62a4b82d9562a5fe880cf793f499469a /libutils/Unicode.cpp
parentb6888bb67d987fce1a5ecfd44f34bbb0b3c7df82 (diff)
fastboot: fix set_active for legacy A/B.
Legacy A/B implementations use _a and _b slot names, but currently the set_active command is unconditionally stripping the _ prefix. This CL adds some code to add the _ back in if connected to a legacy A/B implementation. This isn't a complete fix (there are other places in the code that also unconditionally strip the prefix) but is sufficient for Android Things use case, and we want to keep this change as small and safe as possible to avoid breaking anything else. Bug: http://b/32996227 Test: `fastboot set_active _a` and `fastboot set_active a` works on both AndroidThings Edison board and Marlin. Test: AndroidThings Edison flashall script now completes successfully. Change-Id: I1a07e48b9e2726f386e9ece5267a9f1d8edefe22
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions