Only remove observers when the fragment gets destroyed.

Re-added when the activity attaches.
If activity is null, don't bother trying to get resources.
Change-Id: I47a49b1200d811bac35e485f8923ef32bc2290fe
1 file changed