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

Commit 5ae6db24 authored by Yiyi Shen's avatar Yiyi Shen Committed by Android (Google) Code Review
Browse files

Merge "Move ShadowBluetoothUtils.java to tests/robotests/testutils." into main

parents bfc04582 791e8b8d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.Resetter;

/** Robolectric shadow for the bluetooth utils. */
@Implements(Utils.class)
public class ShadowBluetoothUtils {

@@ -35,6 +36,7 @@ public class ShadowBluetoothUtils {
        return sLocalBluetoothManager;
    }

    /** Resets the local bluetooth manager to null. */
    @Resetter
    public static void reset() {
        sLocalBluetoothManager = null;