Loading src/com/android/bluetooth/pbap/BluetoothPbapObexServer.java +2 −2 Original line number Diff line number Diff line Loading @@ -670,7 +670,7 @@ public class BluetoothPbapObexServer extends ServerRequestHandler { } } else { if (searchValue != null) { compareValue = searchValue.trim(); compareValue = searchValue.trim().toLowerCase(); } for (int pos = listStartOffset; pos < listSize && itemsFound < requestSize; pos++) { Loading @@ -678,7 +678,7 @@ public class BluetoothPbapObexServer extends ServerRequestHandler { if (currentValue.contains(",")) currentValue = currentValue.substring(0, currentValue.lastIndexOf(',')); if (searchValue.isEmpty() || ((currentValue.toLowerCase()).equals(compareValue.toLowerCase()))) { if (searchValue.isEmpty() || ((currentValue.toLowerCase()).startsWith(compareValue))) { itemsFound++; writeVCardEntry(pos, currentValue,result); } Loading Loading
src/com/android/bluetooth/pbap/BluetoothPbapObexServer.java +2 −2 Original line number Diff line number Diff line Loading @@ -670,7 +670,7 @@ public class BluetoothPbapObexServer extends ServerRequestHandler { } } else { if (searchValue != null) { compareValue = searchValue.trim(); compareValue = searchValue.trim().toLowerCase(); } for (int pos = listStartOffset; pos < listSize && itemsFound < requestSize; pos++) { Loading @@ -678,7 +678,7 @@ public class BluetoothPbapObexServer extends ServerRequestHandler { if (currentValue.contains(",")) currentValue = currentValue.substring(0, currentValue.lastIndexOf(',')); if (searchValue.isEmpty() || ((currentValue.toLowerCase()).equals(compareValue.toLowerCase()))) { if (searchValue.isEmpty() || ((currentValue.toLowerCase()).startsWith(compareValue))) { itemsFound++; writeVCardEntry(pos, currentValue,result); } Loading