[mediacontroller][fix] fix small issues 37/215837/3
authorDawid Juszczak <d.juszczak@samsung.com>
Wed, 16 Oct 2019 09:37:11 +0000 (11:37 +0200)
committerDawid Juszczak <d.juszczak@samsung.com>
Thu, 17 Oct 2019 15:24:43 +0000 (15:24 +0000)
commita19f9c4f11f8bac0109bf8e6a579fe9965c82367
treef520f911fdf4a45395ea35316b61ab63510e7ddc
parentcd418608297a38b64abd9eaa2086a7424ee62099
[mediacontroller][fix] fix small issues

issues:
- startup state of server's repeat state was REPEAT_OFF,
  should be REPEAT_ALL
- if client sent request to change attribute to
  currently set value, callback was not invoked. Now
  it is fixed.
- add repeatState to playbackInfo returned by
  playbackInfo getter

[Verification]
tct-mediacontroller-tizen-tests 100% PASS

Change-Id: Iebdbf2ca3af1d395c2ba10753e0ef7efcdc11953
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
src/mediacontroller/mediacontroller_api.js
src/mediacontroller/mediacontroller_client.cc
src/mediacontroller/mediacontroller_server.cc
src/mediacontroller/mediacontroller_utils.cc
src/mediacontroller/mediacontroller_utils.h