Protect FragmentManager against View.NO_ID container ids

Not all code paths for FragmentManager were checking that the
container view had a valid view id. As we can't correctly restore a
fragment with a container without one, throw a more descriptive
exception earlier.

Bug 27290033

Change-Id: I86e41d2f9b5197e058a7ce154c682cbcc2f9c6eb
2 files changed