summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2018-07-03 12:38:49 -0700
committerTyler Gunn <tgunn@google.com>2018-07-16 13:58:21 -0700
commit48f8627784ee7caa45cdc87e60651a5e10cf0b82 (patch)
treecb0625ebe4af88d863f6ce05c50d573c904b59ec /tools/aapt2/java/JavaClassGenerator.cpp
parente72ec1761f576d953c7d362d891f44f4b5432a71 (diff)
Ensure Notification re-post with setOnlyAlertOnce(true) silences sound.
Where a notification channel has an associated looping sound, it should be possible to re-post the notification with setOnlyAlertOnce(true) to cause the notification channel's sound to silence. When re-posting the notification, this CL fixes an issue where NotificationManagerService wouldn't call clearSoundLocked to stop playing the sound, resulting in the notification continuing to playing the sound associated with the notification channel. Test: Manual testing, updated unit test Bug: 110348674 Change-Id: I3ec26f0804bcf59f7356a2329b73ba8ed8f7ea51
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions