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

Commit 7d669069 authored by William Escande's avatar William Escande
Browse files

Follow error prone recommendation

```
In ObexRejectServer.java
38: warning: [BadImport] Importing nested classes/static methods/static
fields with commonly-used names can make code harder to read, because it
may not be clear from the context exactly which type is being referred
to. Qualifying the name with that of the containing class can make the
code clearer. Here we recommend using qualified class: Handler
public class ObexRejectServer [...] implements Callback {
                                               ^
```

Bug: 236759221
Test: m RUN_ERROR_PRONE=true Bluetooth
Change-Id: I60c58853e0c0f2d30abdde4d4e4601477eb1dc6c
parent d0a6f648
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@ package com.android.bluetooth;

import android.bluetooth.BluetoothSocket;
import android.os.Handler;
import android.os.Handler.Callback;
import android.os.HandlerThread;
import android.os.Looper;
import android.os.Message;
@@ -35,7 +34,7 @@ import java.io.IOException;
 *
 * Will reject the OBEX connection, start a timer, and at timeout close the socket.
 */
public class ObexRejectServer extends ServerRequestHandler implements Callback {
public class ObexRejectServer extends ServerRequestHandler implements Handler.Callback {

    private static final String TAG = "ObexRejectServer";
    private static final boolean V = true;