Loading android/app/src/com/android/bluetooth/map/BluetoothMapObexServer.java +2 −6 Original line number Diff line number Diff line Loading @@ -487,9 +487,7 @@ public class BluetoothMapObexServer extends ServerRequestHandler { listSize = mOutContent.msgListingSize(folderName, appParams); hasUnread = mOutContent.msgListingHasUnread(folderName, appParams); outAppParams.setMessageListingSize(listSize); if(V) Log.v(TAG, "not setting body and end of body header"); op.noBodyHeader(); op.noEndofBody(); } // Build the application parameter header Loading Loading @@ -584,12 +582,10 @@ public class BluetoothMapObexServer extends ServerRequestHandler { if(maxListCount == BluetoothMapAppParams.INVALID_VALUE_PARAMETER) maxListCount = 1024; if(maxListCount != 0) { if(maxListCount != 0) { outBytes = mCurrentFolder.encode(listStartOffset, maxListCount); outStream = op.openOutputStream(); } else { op.noBodyHeader(); op.noEndofBody(); } // Build and set the application parameter header Loading Loading
android/app/src/com/android/bluetooth/map/BluetoothMapObexServer.java +2 −6 Original line number Diff line number Diff line Loading @@ -487,9 +487,7 @@ public class BluetoothMapObexServer extends ServerRequestHandler { listSize = mOutContent.msgListingSize(folderName, appParams); hasUnread = mOutContent.msgListingHasUnread(folderName, appParams); outAppParams.setMessageListingSize(listSize); if(V) Log.v(TAG, "not setting body and end of body header"); op.noBodyHeader(); op.noEndofBody(); } // Build the application parameter header Loading Loading @@ -584,12 +582,10 @@ public class BluetoothMapObexServer extends ServerRequestHandler { if(maxListCount == BluetoothMapAppParams.INVALID_VALUE_PARAMETER) maxListCount = 1024; if(maxListCount != 0) { if(maxListCount != 0) { outBytes = mCurrentFolder.encode(listStartOffset, maxListCount); outStream = op.openOutputStream(); } else { op.noBodyHeader(); op.noEndofBody(); } // Build and set the application parameter header Loading