diff options
| author | 2023-04-21 09:45:07 +0000 | |
|---|---|---|
| committer | 2023-05-03 13:02:30 +0000 | |
| commit | f31df6234091b5b1de258a01dd4b2d8e5415ee2e (patch) | |
| tree | bdc189447470311d88cc4ba3e69ec736674e4d79 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 2b3817680a3895e357d181787ef5ef7d16de271d (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
Merged-In: I2617de6f9e8a7dbfd8fbeff589a7d592f00d87c5
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions