mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-18 19:11:39 +08:00
Before the CL we set AM/PM selection in the listeners no matter the target view (AM/PM) is being checked or being unchecked. So the order of calling listeners of AM and PM can "revert" the selection, if the callback for being unchecked is called later. This logic is apparently wrong - we should select AM/PM when they are being unchecked anyways. Resolves https://github.com/material-components/material-components-android/pull/2791 Resolves https://github.com/material-components/material-components-android/issues/2788 GIT_ORIGIN_REV_ID=018e053394f44d6334827fc3f95406c2937ae582 PiperOrigin-RevId: 458027987