Audio VTS: run tear-down hooks in LIFO instead of FIFO am: cfab8dac2b am: 4595c66a1e am: 714ddf05d7

am: 28694c26b1

Change-Id: Ic82a4d787843d99f9818686b7241eb2ca97624cb
This commit is contained in:
Kevin Rocard 2018-06-29 15:15:05 -07:00 committed by android-build-merger
commit c423162322

View file

@ -37,7 +37,7 @@ namespace utility {
class Environment : public ::testing::VtsHalHidlTargetTestEnvBase {
public:
using TearDownFunc = std::function<void()>;
void registerTearDown(TearDownFunc&& tearDown) { tearDowns.push_back(std::move(tearDown)); }
void registerTearDown(TearDownFunc&& tearDown) { tearDowns.push_front(std::move(tearDown)); }
private:
void HidlTearDown() override {