summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2020-05-15 06:14:31 +0000
committerP.Adarsh Reddy <padarshr@codeaurora.org>2020-06-02 21:19:23 +0530
commitc6349c77b9711c155c9449f2394961a8388f52c6 (patch)
tree4999c999aa7360e3b02831c0ba3e113d97561f30 /libsparse/sparse.cpp
parent0120e61f3f134ce53497ef638a62f2e302031d2f (diff)
libdm: Fallback to legacy ueventd logic if running on an older system.
When delivering single-stage, non-AB OTAs, the updater binary is built on a newer OS than recovery is compiled with. libdm relies on newer ueventd behavior which therefore breaks this model. As a workaround, we allow libdm to fallback to the old ueventd logic if the following conditions hold true: (1) we're in recovery, (2) the device is not an AB device, and (3) the release is <= 10. Since the old ueventd behavior can lead to races in libdm, this fallback should stay as narrow as possible. CRs-Fixed: 2700618 Bug: 156536673 Bug: 155202260 Test: manual test Change-Id: I7f9da49e4ba8dfe165e0923d9918827d51d090cd (cherry picked from commit a212760ec69c7daabacdc9da37ba71b3558e6361)
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions