diff options
author | Tao Bao <tbao@google.com> | 2018-06-05 01:31:37 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-06-05 01:31:37 +0200 |
commit | 98dc45f0f055003b8c590af7701c0ef69c079e73 (patch) | |
tree | 038c9d10eddde9b1e1d6361d3ad7562c7d4bd3f8 /updater | |
parent | Merge "updater_sample: validate state only once" am: 02ee7bf29d (diff) | |
parent | Merge "tests: Add ResumableUpdaterTest." (diff) | |
download | android_bootable_recovery-98dc45f0f055003b8c590af7701c0ef69c079e73.tar android_bootable_recovery-98dc45f0f055003b8c590af7701c0ef69c079e73.tar.gz android_bootable_recovery-98dc45f0f055003b8c590af7701c0ef69c079e73.tar.bz2 android_bootable_recovery-98dc45f0f055003b8c590af7701c0ef69c079e73.tar.lz android_bootable_recovery-98dc45f0f055003b8c590af7701c0ef69c079e73.tar.xz android_bootable_recovery-98dc45f0f055003b8c590af7701c0ef69c079e73.tar.zst android_bootable_recovery-98dc45f0f055003b8c590af7701c0ef69c079e73.zip |
Diffstat (limited to 'updater')
-rw-r--r-- | updater/blockimg.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp index 4adb974cb..bdb64636b 100644 --- a/updater/blockimg.cpp +++ b/updater/blockimg.cpp @@ -1498,6 +1498,7 @@ static Value* PerformBlockImageUpdate(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv, const CommandMap& command_map, bool dryrun) { CommandParameters params = {}; + stash_map.clear(); params.canwrite = !dryrun; LOG(INFO) << "performing " << (dryrun ? "verification" : "update"); |