conradchen c6a654c7dd [DatePicker] Fix edge-to-edge mode being applied multiple times
When the date picker goes back from background to foreground, the onStart() method will be called and make enableEdgeToEdge() be called again. This will make it incorrectly use the header height and top padding already adjusted with system inset as the original height and padding, and thus add the inset multiple times.

Creates a flag to only enable edge-to-edge once to fix the issue.

Resolves https://github.com/material-components/material-components-android/issues/2628

PiperOrigin-RevId: 440110562
2022-04-07 11:44:38 -04:00
..
2022-04-07 11:15:21 -04:00
2022-04-07 11:15:21 -04:00
2022-04-07 11:15:21 -04:00
2022-04-07 11:15:21 -04:00
2022-04-07 11:15:21 -04:00
2022-04-07 11:15:21 -04:00