Bug #341
CapsManager implementation has minor issue for the protocol
Description
As per the protocol, the service discovery request should include 'node' attribute (the 'node' value from presence 'c' element plus "#" and 'ver' string). It means should invoke the discoverInfo(String entityID,String node) method of ServiceDiscoveryManager and pass the concatenated 'node' value.
Should modify the validate() method like the below:
private boolean validate(String jid, String ver, String hashMethod, String node) {
try {
DiscoverInfo info = mSdm.discoverInfo(jid, node+"#"+ver);
....
}
}