Merge "Fix CTS failed when publish device capabilities."