Willie Koomson 0a6e9d765d Fix issue with tap-to-add on recycled WidgetCells
Updates BaseWidgetSheet to check if the last recorded widget cell
to show an add button is still showing an add button before deciding
how to handle the current click.

When a widget is recycled or loses focus, it will reset to the default
state of hiding the add button. However, BaseWidgetSheet still tracks
it. If that cell is clicked again after being reset, we want to show
the add button.

Bug: TODO
Test: manual
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add TEAMFOOD
Change-Id: I4614674948a52b8908fabf5c0e5734bf76b9282b
2024-04-15 22:32:51 +00:00
2023-12-07 13:04:23 -08:00
2024-04-12 19:19:59 +00:00
2024-01-23 15:55:40 -08:00
2019-11-25 20:24:07 +09:00
2024-03-22 15:45:32 -07:00
2023-10-20 10:09:12 -07:00
S
Description
No description provided
658 MiB
Languages
Java 57.2%
Kotlin 42.4%
AIDL 0.3%