Merge lp://qastaging/~renatofilho/indicator-datetime/fix-1533681 into lp://qastaging/indicator-datetime/15.10

Proposed by Renato Araujo Oliveira Filho
Status: Merged
Approved by: Charles Kerr
Approved revision: 454
Merged at revision: 447
Proposed branch: lp://qastaging/~renatofilho/indicator-datetime/fix-1533681
Merge into: lp://qastaging/indicator-datetime/15.10
Prerequisite: lp://qastaging/~renatofilho/indicator-datetime/fix-1508438
Diff against target: 217 lines (+49/-26)
7 files modified
include/datetime/appointment.h (+2/-0)
src/appointment.cpp (+11/-1)
src/engine-eds.cpp (+12/-4)
src/snap.cpp (+3/-1)
tests/notification-fixture.h (+10/-10)
tests/test-eds-ics-repeating-valarms.cpp (+8/-8)
tests/test-sound.cpp (+3/-2)
To merge this branch: bzr merge lp://qastaging/~renatofilho/indicator-datetime/fix-1533681
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
Arthur Mello (community) Approve
Review via email: mp+290520@code.qastaging.launchpad.net

Commit message

Only play a sound alert if the event contains a SOUND reminder.

Description of the change

How to Test:

1 - Create an alarm on google wit a pop-up notification at event time
2 - Create an alarm on google with e-mail notification at event time
3 - Create an alarm on google without any notification at event time
5 - Create a event with a reminder at event time on your device
4 - Sync your device with google
5 - Make sure that the event with pop-up notification does not play any sound but shows a pop up when it starts
6 - Make sure that the event with e-mail notification does not show any notification and does not play any sound
7 - Make sure the event created on device shows a notification and play a sound when it starts.

To post a comment you must log in.
Revision history for this message
Charles Kerr (charlesk) wrote :

Basically the right idea, but implementation is much more complicated than necessary. See comments inline

review: Needs Fixing
449. By Renato Araujo Oliveira Filho

Remove type property from Alarm.

450. By Renato Araujo Oliveira Filho

Update tests.

451. By Renato Araujo Oliveira Filho

Does not play sound for events without a sound set.

452. By Renato Araujo Oliveira Filho

Parent merged.

453. By Renato Araujo Oliveira Filho

better code.

454. By Renato Araujo Oliveira Filho

Update tests.

Revision history for this message
Arthur Mello (artmello) wrote :

lgtm

review: Approve
Revision history for this message
Charles Kerr (charlesk) wrote :

to me, too

review: Approve
455. By Renato Araujo Oliveira Filho

Parent merged.

456. By Renato Araujo Oliveira Filho

Parent merged.

457. By Renato Araujo Oliveira Filho

Fixed sound file used by event alarms.

458. By Renato Araujo Oliveira Filho

Play event sound even if the event has only text reminders.

459. By Renato Araujo Oliveira Filho

revert last change.

460. By Renato Araujo Oliveira Filho

Parent merged.

461. By Renato Araujo Oliveira Filho

Only play sounds for alarms.

462. By Renato Araujo Oliveira Filho

Update sound test.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches