commit | 8f8d92058806974c12f33f593a1b5f0f889be201 | [log] [tgz] |
---|---|---|
author | Yi-Yo Chiang <yochiang@google.com> | Sat Aug 27 14:02:07 2022 +0800 |
committer | Yi-Yo Chiang <yochiang@google.com> | Wed Aug 31 11:32:54 2022 +0800 |
tree | 686325067ba226d54ceec0476f7f18fe758c218d | |
parent | 1a0e4d0bf7c7e9b0dc76ef25920e976d3bd2267a [diff] |
adb-remount-test: Refactor restore() The redefining of cleanup hooks are making the script rather difficult to read. Instead of redefining restore() just to skip some parts of it, let restore() check flags and conditionally execute cleanup code. Bug: 243116800 Test: adb-remount-test Change-Id: If9d627618b54e215200455e8133492670737571d