fix BrowseFragmentTest static variable issue

Some short test doesn't wait the post Handler to be run. When
Handler runs, static variable SET_ADAPTER_AFTER_DATA_LOAD is
changed by another test.

Change static variable to member variable and check activity
close as well.

Bug 30943877

Change-Id: I62f317fcf22930f055d4ff52863b75ea06d448c6
4 files changed