timob-15324: expose the status of the current activity to module developers
Merge pull request #4836 from pingwang2011/timob-15324

timob-15324:Android: expose the status of the current activity (foreground or background) to the module developers