summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author András Kurucz <kurucz@google.com> 2023-04-21 09:45:07 +0000
committer András Kurucz <kurucz@google.com> 2023-04-27 10:27:53 +0000
commit8a5223fcd59e805da510c31c5f8462c5d01ec6d5 (patch)
tree260e26d3633ad7393cfbd6a767afe03031d6d7e3 /cmds/bootanimation/BootAnimationUtil.cpp
parentf3f4b85ee3ad026c947cfa8b40b25c40be93779a (diff)
Truncate ShortcutInfo Id
Creating Conversation with a ShortcutId longer than 65_535 (max unsigned short), we did not save the conversation settings into the notification_policy.xml due to a restriction in FastDataOutput. This put us to a state where the user changing the importance or turning off the notifications for the given conversation had no effect on notification behavior. Fixes: 273729476 Test: atest ShortcutManagerTest2 Test: Create a test app which creates a Conversation with a long shortcutId. Go to the Conversation Settings and turn off Notifications. Post a new Notification to this Conversation and see if it is displayed. Change-Id: I2617de6f9e8a7dbfd8fbeff589a7d592f00d87c5
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions