Bug 1217339 - Fix illegal format of folder-listing object, r=btian
authorShawn Huang <shuang@mozilla.com>
Fri, 23 Oct 2015 22:21:09 +0800
changeset 269168 7e97cf0f34e0e5335b40df8b1c06cabf061de01f
parent 269167 4c676788cb4a801098197daa78d06eaa865ac066
child 269169 8be833477dd0b8dff14f4ba827e82f9c70a08bc1
push id18262
push usershuang@mozilla.com
push dateFri, 23 Oct 2015 14:20:51 +0000
treeherderb2g-inbound@7e97cf0f34e0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbtian
bugs1217339
milestone44.0a1
Bug 1217339 - Fix illegal format of folder-listing object, r=btian
dom/bluetooth/bluedroid/BluetoothMapFolder.cpp
--- a/dom/bluetooth/bluedroid/BluetoothMapFolder.cpp
+++ b/dom/bluetooth/bluedroid/BluetoothMapFolder.cpp
@@ -71,17 +71,17 @@ BluetoothMapFolder::GetFolderListingObje
 
     if (count > aMaxListCount) {
       break;
     }
 
     const nsAString& key = iter.Key();
     folderListingObejct.Append("<folder name=\"");
     folderListingObejct.Append(NS_ConvertUTF16toUTF8(key).get());
-    folderListingObejct.Append("\">");
+    folderListingObejct.Append("\"/>");
     count++;
   }
 
   folderListingObejct.Append(folderListingSuffix);
   aString = NS_ConvertUTF8toUTF16(folderListingObejct);
 }
 
 void