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

Commit 2f873def authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix a crash when sending service discovery uuids"

parents 1d775986 7489e20f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -7086,6 +7086,14 @@ public class AdapterService extends Service {
     * @param uuids are the services supported on the remote device
     */
    void sendUuidsInternal(BluetoothDevice device, ParcelUuid[] uuids) {
        if (device == null) {
            Log.w(TAG, "sendUuidsInternal: null device");
            return;
        }
        if (uuids == null) {
            Log.w(TAG, "sendUuidsInternal: uuids is null");
            return;
        }
        Log.i(TAG, "sendUuidsInternal: Received service discovery UUIDs for device " + device);
        if (DBG) {
            for (int i = 0; i < uuids.length; i++) {