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

Commit b507272f authored by Aishwarya Mallampati's avatar Aishwarya Mallampati
Browse files

Close DB file after running unit tests.

Bug: 276527828
Test: atest SatelliteProviderTest
Change-Id: I189a909a769cb808ac415021dd7ed72b36d1e633
parent 4e70b668
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -104,6 +104,7 @@ public class DatagramReceiverTest extends TelephonyTest {
    @After
    public void tearDown() throws Exception {
        logd(TAG + " tearDown");
        mFakeSatelliteProvider.shutdown();
        mDatagramReceiverUT.destroy();
        mDatagramReceiverUT = null;
        mResultListener = null;
+5 −0
Original line number Diff line number Diff line
@@ -95,4 +95,9 @@ public class FakeSatelliteProvider extends MockContentProvider {
        // Do nothing.
        return 0;
    }

    @Override
    public void shutdown() {
        mDbHelper.close();
    }
}