Skip to content

Conversation

GoMino
Copy link

@GoMino GoMino commented Dec 23, 2015

  • Make sure the ConnectableDevice id is set with the serviceDescription UUID if any, instead of a generated one.
  • Fix the ConnectableDevice constructor with a JSONObject as argument to properly initialize the serialized DeviceServices if any.
  • Fix a bug where the serviceDescription does not get set to the ConnectableDevice when first discovered (was only set on the DeviceService at first, and then on the ConnectableDevice, when it get updated).
  • Added Support for startPosition and customData parameters in playMedia method of MediaPlayer capability.

- Make sure the ConnectableDevice id is set with the serviceDescription UUID if any, instead of a generated one.
- Fix the ConnectableDevice constructor with a JSONObject as argument to properly initialize the serialized DeviceServices if any.
- Fix a bug where the serviceDescription does not get set to the ConnectableDevice when first discovered (was only set on the DeviceService at first, and then on the ConnectableDevice, when it get updated).
- Added Support for startPosition and customData parameters in playMedia method of MediaPlayer capability.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should probably use 'optJSONObject here, just like the piece of code above this.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I added a new commit to fix that, thanks!

…ice + Fix SSDPDeviceTest case for new support library
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants