Commit 9eba1b14 authored by Larry Sachs's avatar Larry Sachs Committed by Rick Bell

Remove bogus logging on Observe

Change-Id: I82e48ab927b04bbc9035b91b87e18f6ed95c4f30
Signed-off-by: Larry Sachs's avatarLarry Sachs <larry.j.sachs@intel.com>
parent c418c672
......@@ -63,8 +63,8 @@ public class Link {
public OcRepresentation getOcRepresentation() throws OcException {
OcRepresentation ocRep = new OcRepresentation();
ocRep.setValue(HREF_KEY, mHref);
ocRep.setValue(REL_KEY, mHref);
ocRep.setValue(RT_KEY, mHref);
ocRep.setValue(REL_KEY, mRel);
ocRep.setValue(RT_KEY, mRt);
return ocRep;
}
......
......@@ -352,10 +352,6 @@ public class UpnpAvClientActivity extends Activity implements
public synchronized void onObserveCompleted(List<OcHeaderOption> list, OcRepresentation ocRepresentation, int sequenceNumber) {
if (OcResource.OnObserveListener.REGISTER == sequenceNumber) {
Log.i(TAG, "Observe registration action is successful");
} else if (OcResource.OnObserveListener.DEREGISTER == sequenceNumber) {
Log.i(TAG, "Observe De-registration action is successful");
} else if (OcResource.OnObserveListener.NO_OPTION == sequenceNumber) {
Log.i(TAG, "Observe registration or de-registration action is failed");
}
Log.i(TAG, "OBSERVE Result: SequenceNumber: " + sequenceNumber);
......
......@@ -505,10 +505,6 @@ public class UpnpAvClientSelectRendererActivity extends Activity implements
public synchronized void onObserveCompleted(List<OcHeaderOption> list, OcRepresentation ocRepresentation, int sequenceNumber) {
if (OcResource.OnObserveListener.REGISTER == sequenceNumber) {
Log.i(TAG, "Observe registration action is successful");
} else if (OcResource.OnObserveListener.DEREGISTER == sequenceNumber) {
Log.i(TAG, "Observe De-registration action is successful");
} else if (OcResource.OnObserveListener.NO_OPTION == sequenceNumber) {
Log.i(TAG, "Observe registration or de-registration action is failed");
}
Log.i(TAG, "OBSERVE Result: SequenceNumber: " + sequenceNumber);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment