Fix bug 5033564 intent tests crash (e.g. LIST_ALL_CONTACTS)

Was caused by the swipe CL Ic6c8a2b8.

- Now that some of the fragments are created at runtime using
FragmentTransaction, we can't assume that all fragments have views
in onCreate().

(The framework calls Fragment.onCreateView() AFTER Activity.onCreate()
if a fragment is dynamically created.  If a fragment is inflated
from a layout,onCreateView() IS called during the inflation.)

- So the initialization that may touch fragment views now has to be
done after onCreate().

- Also extract out the request intialization code from configureContentView().
Now onNewIntent() calls only this new method, but configureContentView().

Bug 5033564

Change-Id: Ibcfcef4b20132536d736dd5db15af9122c01b643
1 file changed