Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5cc58a76 authored by Michael Butler's avatar Michael Butler Committed by android-build-merger
Browse files

Merge "Added protections to RenderScript VTS class teardown." am: 80002c1f am: 06f79dbd

am: 88d9fda6

Change-Id: I5610aa46a612acbd3b854de9721fd4c204a2f5f0
parents 3bbf0c19 88d9fda6
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -28,9 +28,11 @@ void RenderscriptHidlTest::SetUp() {
}

void RenderscriptHidlTest::TearDown() {
    if (context.get() != nullptr) {
        context->contextFinish();
        context->contextDestroy();
    }
}

// A class for test environment setup (kept since this file is a template).
class RenderscriptHidlEnvironment : public ::testing::Environment {