EditAlarmView: fix volume adjustment/alarm type logic 48/121548/3
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 28 Mar 2017 07:37:42 +0000 (09:37 +0200)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 28 Mar 2017 08:14:44 +0000 (10:14 +0200)
commitdb37559e3942e082faf67ca0890c6f734dee1ac4
tree77fb025e11ee3200ef2f86ad58ed2a06d5b82ef7
parent46cafeff5e6ebd2c7659ceb685ab5c3484c2f200
EditAlarmView: fix volume adjustment/alarm type logic

When volume is reduced to 0, alarm type should change to 'vibration',
alternatively i volume is >0, then alarm type wil change to 'sound'.

Additionally when alarm type is changed to 'vibration' manually, the slider
will become disabled.

Change-Id: I67cf86daa826198f7d2a9aafa6e612c22b3e0ec9
clock/inc/View/EditAlarmView.h
clock/src/View/EditAlarmView.cpp