refer to commit 649dc2d985
(1) import hash method
(2) separate the update and finish processes
Signed-off-by: makejian <makejian@xiaomi.com>
refer to commit 649dc2d985
(1) import hash method
(2) separate the update and finish processes
Signed-off-by: makejian <makejian@xiaomi.com>