Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Remove implicit receiver #95

Closed
Mecharyry opened this issue Apr 18, 2017 · 1 comment
Closed

Remove implicit receiver #95

Mecharyry opened this issue Apr 18, 2017 · 1 comment
Assignees
Milestone

Comments

@Mecharyry
Copy link
Contributor

Mecharyry commented Apr 18, 2017

Problem

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.

@Mecharyry Mecharyry added the bug label Apr 18, 2017
@Mecharyry Mecharyry self-assigned this Apr 18, 2017
@Mecharyry Mecharyry added this to the v0.10.0 milestone Apr 25, 2017
@Mecharyry Mecharyry added enhancement and removed bug labels Apr 26, 2017
@Mecharyry
Copy link
Contributor Author

This issue has been resolved in v0.10.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant