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

Commit 8a87f6ec authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Android Git Automerger
Browse files

am 3604ec03: Merge "Reject OBEX connection request for OPP with Target."

* commit '3604ec03':
  Reject OBEX connection request for OPP with Target.
parents e3c9255a 3604ec03
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());