summaryrefslogtreecommitdiffstats
path: root/src/android/bluetooth/client/map/BluetoothMasRequestGetFolderListing.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/bluetooth/client/map/BluetoothMasRequestGetFolderListing.java')
-rw-r--r--src/android/bluetooth/client/map/BluetoothMasRequestGetFolderListing.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/bluetooth/client/map/BluetoothMasRequestGetFolderListing.java b/src/android/bluetooth/client/map/BluetoothMasRequestGetFolderListing.java
index bd5a2dd..db22ada 100644
--- a/src/android/bluetooth/client/map/BluetoothMasRequestGetFolderListing.java
+++ b/src/android/bluetooth/client/map/BluetoothMasRequestGetFolderListing.java
@@ -43,8 +43,8 @@ final class BluetoothMasRequestGetFolderListing extends BluetoothMasRequest {
mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
ObexAppParameters oap = new ObexAppParameters();
-
- if (maxListCount > 0) {
+ // Allow GetFolderListing for maxListCount value 0 also.
+ if (maxListCount >= 0) {
oap.add(OAP_TAGID_MAX_LIST_COUNT, (short) maxListCount);
}