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 has been archived by the owner on Feb 11, 2022. It is now read-only.
Apps targeting Android 7.0 do not receive CONNECTIVITY_ACTION broadcasts, even if they have manifest entries to request notification of these events. Apps that are running can still listen for CONNECTIVITY_CHANGE on their main thread if they request notification with a BroadcastReceiver.
Currently, we implicitly register a BroadcastReceiver for all API levels EXCEPT for Android N and above. This will potentially have a huge impact on battery life for devices using merlin in the background. See conversation in #93 for further details.
Solution
Explicitly register a BroadcastReceiver for all Android versions.
The text was updated successfully, but these errors were encountered:
Problem
Currently, we implicitly register a
BroadcastReceiver
for all API levels EXCEPT for Android N and above. This will potentially have a huge impact on battery life for devices using merlin in the background. See conversation in #93 for further details.Solution
Explicitly register a
BroadcastReceiver
for all Android versions.The text was updated successfully, but these errors were encountered: