Loop ringtone in FindMyPhonePlugin
ClosedPublic

Authored by nicolasfella on Jan 17 2018, 4:41 PM.

Details

Summary

BUG: 368089

FindMyPhone does not loop ringtones, which makes problems with short ringtones. Additionally, it depends on the volume of the alarm channel, so if the alarms are muted, no
sound can be heard. This patch raises the alarm volume to max when the activity gets started and restores the previous value when it stops.

Test Plan

Trigger findmyphone, hear sound looping. Set alarm volume to zero and check if it gets restored.

Diff Detail

Repository
R225 KDE Connect - Android application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella requested review of this revision.Jan 17 2018, 4:41 PM
nicolasfella created this revision.
mtijink accepted this revision.Jan 17 2018, 8:04 PM
mtijink added a subscriber: mtijink.

Good idea!

This revision is now accepted and ready to land.Jan 17 2018, 8:04 PM
This revision was automatically updated to reflect the committed changes.