diff options
author | Kevin Rocard <krocard@google.com> | 2018-07-11 18:09:36 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-07-11 18:09:36 -0700 |
commit | 6bd91399094571651af0ecc11ebf400486743d76 (patch) | |
tree | 9fc57ea44943dc49c34f8d0c7fe71cd2e40081da | |
parent | d88330667d1e285b4590ca9d34d409642fb2d7d1 (diff) | |
parent | 01ead7c96b67f230425e8c131258d5ff9b8aa3ff (diff) | |
download | platform_hardware_interfaces-6bd91399094571651af0ecc11ebf400486743d76.tar.gz platform_hardware_interfaces-6bd91399094571651af0ecc11ebf400486743d76.tar.bz2 platform_hardware_interfaces-6bd91399094571651af0ecc11ebf400486743d76.zip |
Audio VTS: run tear-down hooks in LIFO instead of FIFO
am: 01ead7c96b
Change-Id: Ifbfafaacac3eb30d20890f98ec3f1ff7f7b493f2
-rw-r--r-- | audio/2.0/vts/functional/AudioPrimaryHidlHalTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/2.0/vts/functional/AudioPrimaryHidlHalTest.cpp b/audio/2.0/vts/functional/AudioPrimaryHidlHalTest.cpp index a5b37af49a..428484fd9b 100644 --- a/audio/2.0/vts/functional/AudioPrimaryHidlHalTest.cpp +++ b/audio/2.0/vts/functional/AudioPrimaryHidlHalTest.cpp @@ -124,7 +124,7 @@ class Environment : public ::testing::Environment { public: using TearDownFunc = std::function<void()>; void registerTearDown(TearDownFunc&& tearDown) { - tearDowns.push_back(std::move(tearDown)); + tearDowns.push_front(std::move(tearDown)); } private: |