518ca4609cd68fc5ba75946b54d3184e66b8a989
The logic for updating hotseat items in taskbar involved adding all available recent items to the view, and then removing ones that overflow. It also preemptively added overflow icon, and then removed it when no overflow was detected. This cl updates logic to stop adding recent items before they cause overflow, and add overflow icon only when needed. Bug: 368119679 Test: Keep opening apps until taskbar enters overflow, and verify that expected number of app icons is displayed, and overflow icon is shown in the correct place. Flag: com.android.launcher3.taskbar_overflow Change-Id: Icaad4386b54bbfccba8ace5876d7fe5c90cb7798
Description
No description provided
Languages
Java
57.2%
Kotlin
42.4%
AIDL
0.3%