summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Julia Reynolds <juliacr@google.com> 2022-04-08 17:55:02 -0400
committer Julia Reynolds <juliacr@google.com> 2022-04-11 19:52:37 +0000
commit2210ff10e368d6619971a2306ea93e752e169549 (patch)
treeda575d18ca47bcf1553820fa539aeeefd80352da /cmds/bootanimation/BootAnimation.cpp
parentf1f03b8f38f43a63a9bc1251dc6e3c327fb940d6 (diff)
Modify handling of notifs with invalid sounds
Previously, if an app posted a notification with an invalid sound and they targeted P+, we would not post the notification. However, sounds are often not in the control of apps, and apps should not be blamed if those sounds get corrupted. With this cl, rather than dropping the notification if the app provides an invalid uri, we will replace the sound with the default notification sound. Bug: 227770797 Fixes: 201488127 Test: NotificationRecordTest; modify sms sounds to be invalid and ensure notification is posted with sound Change-Id: Id438b7ea6912b13cfb79a09fe700474ad17879de
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions