conradchen b3db1cc028 [Badge] Prevent multiple badges being attached to a menu item at the same time
Fixes the logic in NavigationBarMenuView.restoreBadgeDrawables(), which may override the newly created badges with the restored drawables incorrectly. Also adds a safe guard that removes the previously attached badges if any, before attaching a new badge.

PiperOrigin-RevId: 424923078
2022-01-31 18:12:50 -08:00
..
2021-11-29 17:35:39 +00:00
2021-11-29 17:35:39 +00:00
2022-01-27 09:54:21 -08:00
2022-01-27 09:54:21 -08:00
2022-01-27 09:54:21 -08:00
2021-11-29 17:35:39 +00:00
2022-01-27 09:54:21 -08:00
2022-01-27 09:54:21 -08:00
2022-01-04 18:01:05 -05:00
2021-11-29 17:35:39 +00:00
2022-01-27 09:54:21 -08:00