Prerequisite: Other Foldable Devices (ex. Samsung Fold 2)
Steps to reproduce:
- Open the FragmentsHandler Sample on multi window mode on other foldable devices (ex. Samsung Fold 2)
- Close the device and open it again
- Change the app to cover the entire display area
Expectation: The DualStartFragment and DualEndFragment are visible
Actual: The SingleScreenFragment and DualEndFragment are visible
Cause: onActivityPreCreated lifecycle callback is called twice from time to time