Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit de364ea6 authored by Oscar Azucena's avatar Oscar Azucena
Browse files

Fixed silent mode alarm play at full volume

During do not disturb mode, privilege alarms sometimes were not
played at full volume. This was happening when alarm was disabled
and the setting to play priviledge alarms at full volume was enabled.
Specifically, the new event for device changed was decrementing the
privilege alarm active count which was incremented during the playback
start event. The device change event was resetting the count to zero,
signaling that there were no more privilege active alarms and thus
reducing the volume back to zero when it should have played at full
volume.

Bug: 211324401
Test: 1) Set volume to minimum for alarms
      2) Enable do not disturb mode
      3) Turn off alarm in do not disturb
      4) Send ETWS text message
      5) Alarm should be heard at full volume
Change-Id: Id591975ef6bf1b72ab9a4d23e98c93603e0ab914
parent d62e59ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment