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

Commit 3604ec03 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Android (Google) Code Review
Browse files

Merge "Reject OBEX connection request for OPP with Target."

parents d55ae2f4 bdf3cd94
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -530,7 +530,7 @@ public class BluetoothOppObexServerSession extends ServerRequestHandler implemen
            byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET);
            if (V) Log.v(TAG, "onConnect(): uuid =" + Arrays.toString(uuid));
            if(uuid != null) {
                reply.setHeader(HeaderSet.WHO, uuid);
                 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
            }
        } catch (IOException e) {
            Log.e(TAG, e.toString());