Check for target SDK version for out-of-order fragment creation.

Bug 30230667

Ensure that pre-N applications initialize in the proper order,
but allow N and above applications to be created prior to
asking for a Transition.

Change-Id: I859f22a7c5518e4b496cbd7ee58ef1d3206a5c86
(cherry picked from commit 78d38fc8390b9d648f88687efb333e054146865d)
1 file changed