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

Commit 33fa358d authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Fix error where root folder depth was set as 1 instead of 0

Test: Tested by hand
Bug: 32082139
Change-Id: Id46c3dab1e21d166691620cb762d64893ce5d41d
parent e58b7c22
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -127,7 +127,7 @@ class BrowsedMediaPlayer {
                if (DEBUG) Log.d(TAG, "sending setbrowsed player rsp");
                mFolderItems = children;
                mMediaInterface.setBrowsedPlayerRsp(mBDAddr, AvrcpConstants.RSP_NO_ERROR,
                        (byte)0x01, children.size(), ROOT_FOLDER);
                        (byte)0x00, children.size(), ROOT_FOLDER);
            } else {
                mFolderItems = children;
                mCurrFolderNumItems = mFolderItems.size();