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

Commit d96e2939 authored by Sal Savage's avatar Sal Savage
Browse files

Use test local tags for determining test log line output

We're removing log enforcement variables from the platform, which means
this test can no longer reference them either.

Tag: #refactor
Flag: EXEMPT, logging only change
Bug: 315046089
Test: atest BluetoothInstrumentationTests
Change-Id: I06b0847b72f96803de572c61aeb8bfa99d90dbcf
parent d5ccf2c4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -359,9 +359,9 @@ class TestTcpListener {

    private static final String TAG = "BtOppRfcommListener";

    private static final boolean D = Constants.DEBUG;
    private static final boolean D = Log.isLoggable(TAG, Log.DEBUG);

    private static final boolean V = Constants.VERBOSE;
    private static final boolean V = Log.isLoggable(TAG, Log.VERBOSE);

    private volatile boolean mInterrupted;

@@ -477,7 +477,7 @@ class TestTcpListener {
class TestTcpServer extends ServerRequestHandler implements Runnable {
    private static final String TAG = "ServerRequestHandler";

    private static final boolean V = Constants.VERBOSE;
    private static final boolean V = Log.isLoggable(TAG, Log.VERBOSE);

    static final int PORT = 6500;