Skip to content
Commit c8242de1 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

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
parent ec6c6835
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment