You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2019. It is now read-only.
I have an application that launches a Foreground Service under certain circumstances. I need to know if one of the application's activities is visible to the user, independently of whether the foreground service is running or not. However, what I noticed is that I never receive a BACKGROUND callback when I background the application if the foreground service is running. Is this expected? Looking at your code, it seems that onTrimMemory is not getting called in this case.
Thanks for contributing this library!
I have an application that launches a Foreground Service under certain circumstances. I need to know if one of the application's activities is visible to the user, independently of whether the foreground service is running or not. However, what I noticed is that I never receive a BACKGROUND callback when I background the application if the foreground service is running. Is this expected? Looking at your code, it seems that
onTrimMemoryis not getting called in this case.