Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bafd6c7a authored by Tao Bao's avatar Tao Bao
Browse files

updater: Let read_file() return Value::Type::STRING.

It used to return a Value blob to be consumed by sha1_check() (which has
been deprecated). Currently there's no other generic updater function
that works with BLOB Values. This CL changes read_file() to return a
string Value to make it more useful (e.g. allowing equality check).

Test: Run recovery_component_test and recovery_unit_test on marlin.
Change-Id: Iba986ba649030112babefe898f26aa9ffe69eeb7
parent 6b18eb70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment