Revert foreground check (fixed on master)
Revert foreground check (fixed on master)

freefair/advanced-bugsnag-android,hgl888/bugsnag-android,amikey/bugsnag-bugsnag-android,ppamorim/bugsnag-android,caoyang521/bugsnag-android