summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorOscar Azucena <oscarazu@google.com>2022-01-12 20:09:32 -0800
committerOscar Azucena <oscarazu@google.com>2022-01-19 05:30:52 +0000
commitdc38701d384887ef00167a3aedacd6aeb74b44b5 (patch)
treef97c977ae11cdb46169acdbb70bd269ffd413d33 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc89faed0bdd47cad6deb821e8e031d6a03a632ce (diff)
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 (cherry picked from commit de364ea6476c060a6449b842ef306c328d38929e)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions