Closed Bug 643032 Opened 9 years ago Closed 9 years ago

Fennec network status listener is started on device boot

Categories

(Core :: Widget: Android, defect)

All
Android
defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla6

People

(Reporter: mbrubeck, Assigned: mbrubeck)

References

Details

(Keywords: polish, Whiteboard: [has patch])

Attachments

(1 file)

Our AndroidManifest.xml registers a listener for network status changes. Android runs this listener whether the browser is running or not, whenever there is a network status change (including during device boot).

This takes up a small amount of RAM (less than 4 MB Pss), and also makes it appear that Firefox is launching itself during boot.  If there's an easy way to avoid this, we might want to do it to reduce footprint and prevent confusion.
Attached patch patchSplinter Review
This patch registers/unregisters the listener on Resume/Pause, just like the stock Android Browser app does.
Assignee: nobody → mbrubeck
Status: NEW → ASSIGNED
Attachment #531094 - Flags: review?(blassey.bugs)
Keywords: polish
Whiteboard: [has patch]
Attachment #531094 - Flags: review?(blassey.bugs) → review+
http://hg.mozilla.org/mozilla-central/rev/33992b8ef80e
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
Depends on: 655997
No longer blocks: 641906
You need to log in before you can comment on or make changes to this bug.