Fix potential null pointer in fragment's immersive

mode.

Technical Description:
- When immersive mode was implemented in fragments, it worked by getting
the parent activity's application window's decor view.
- Sometimes getActivity() can return null.
- This patch prevents the application from crashing if the view is null,
but also uses AndroidGraphics' view for immersive mode.
- Android fragment starter now uses immersive mode by default like
Android test starter.
- Better exception logging
This patch resolves #2602
Merge pull request #2603 from Unkn0wn0ne/immersive-mode-bug2602

Fix potential null pointer in Android fragment's immersive mode implementation