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

Commit 88d9fda6 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

Change-Id: Iaab1d98a8096204be8f8153f53074cb772f0e809
parents 6c0b3bee 06f79dbd
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 {