diff options
| author | 2025-02-28 18:23:14 +0000 | |
|---|---|---|
| committer | 2025-03-03 06:12:25 -0800 | |
| commit | 02e6e7e33afb846db0624d5399dd5f856a7c27e4 (patch) | |
| tree | 2da592505599c020ee3130195b540df686c57d73 /libs/androidfw/PathUtils.cpp | |
| parent | aa47a2f870ad753f597f153fac8ba398505853de (diff) | |
[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
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions