Fix VIP conversations alerting incorrectly.
Transfer alerts (HUN/pulse) from the group to priority conversations which are isolated from that group. Note: In cases where the alert is transferred from a group with 2+ children to the priority, there can be very small flickering because the group is inflated synchronously, so it starts displaying before the message is received to transfer the alert to the priority conversation, which then needs to be inflated asynchronously. Fixes: 185680162 Test: atest NotificationGroupAlertTransferHelperTest NotificationGroupManagerLegacyTest Test: Using WA, receive messages from 2+ people, where some but not all of those conversations have been set to Priority. Test different numbers of people in each category (single vs. multile) and ensure that whenever an alert displays it shows the message that was just received. Cherry-picks commit 64c85ac6 This re-lands a change that was reverted due to the following, however no causation could be found, and subsequent tests have not reproduced the bug. Bug: 187009701 Change-Id: I4b0f9249572011d783204d973fa11c7bf6a9ddda
Loading
Please register or sign in to comment