mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-20 20:12:52 +08:00
If none of the check state has changed, let's not update the menu. Background for this diff is at #61. While larger improvements may make sense, this diff is designed to mitigate the most serious issue in a way that doesn't create risk. Test: used these modified classes inside the Android Uber app and ran a profiler. The problematic 50ms delay caused by this bug was fixed. You can see the before/after traces in https://issuetracker.google.com/issues/73723207. Resolves https://github.com/material-components/material-components-android/issues/61 Resolves https://github.com/material-components/material-components-android/pull/62 GIT_ORIGIN_REV_ID=f8f8488689be67b8974d29e1c623e1dbe18cfdae PiperOrigin-RevId: 221799350