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

Commit 44896501 authored by Ashwini Munigala's avatar Ashwini Munigala Committed by Nitin Shivpure
Browse files

MAP: Handle MessageListing empty folder name if set to current path.

Check if destination folder is already setpath while processing
GetMessageListing Request for empty folderName.

Change-Id: I4ecd87264140fd347c71b428e3c4dffec3f91d48
parent 27385b9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -450,7 +450,7 @@ public class BluetoothMapObexServer extends ServerRequestHandler {
        HeaderSet replyHeaders = new HeaderSet();
        BluetoothMapAppParams outAppParams = new BluetoothMapAppParams();
        BluetoothMapMessageListing outList;
        if(folderName == null) {
        if(folderName == null || folderName.length() == 0 ) {
            folderName = mCurrentFolder.getName();
        }
        if(appParams == null){