[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaContr... 12/208712/3
authorArkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Thu, 27 Jun 2019 09:14:58 +0000 (11:14 +0200)
committerArkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Thu, 27 Jun 2019 09:27:37 +0000 (11:27 +0200)
commit2faf59bd06f4b290552947f76d734efa4595c5ee
treedbd1ac381f9472c2883b1f2a863ca6bbf813db8c
parent42933a4fe8635195afde33e0fd853057d5391a4b
[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaControllerPlaybackInfo

Previous implementation intended to check for null and undefined and in reality didn't allow for setting 'false' or '0' values.

Change-Id: I03194e81d5d0bd5ef97a88d01a014f758a6ca49d
src/mediacontroller/mediacontroller_api.js