Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 02e6e7e3 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Notif] Make sure re-tapping notif chip hides HUN immediately.

I originally implemented this behavior in ag/31139202 and it seemed like
it worked because the minimum timeout for the HUN was 1 second. But
later in ag/31744914 we updated the minimum timeout for chip HUNs to be
3 seconds, which means re-tapping the chip no longer worked if you did
it within the first 3 seconds.

This CL ensures we remove the HUN immediately if the user re-tapped the
chip since it's a clear user action.

Fixes: 399882113
Bug: 364653005
Flag: com.android.systemui.status_bar_notification_chips
Test: Tap chip then immediately re-tap chip -> verify HUN immediately
disappears (see video in bug)
Test: atest HeadsUpCoordinatorTest

Change-Id: I62e71c425df8d05cf2771ea2731d9ad1661d69f9
parent aa47a2f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment