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 304415 7e97cf0f34e0e5335b40df8b1c06cabf061de01f
parent 304414 4c676788cb4a801098197daa78d06eaa865ac066
child 304416 8be833477dd0b8dff14f4ba827e82f9c70a08bc1
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbtian
bugs1217339
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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