Closed Bug 643032 Opened 13 years ago Closed 13 years ago

Fennec network status listener is started on device boot

Categories

(Core Graveyard :: Widget: Android, defect)

All
Android
defect
Not set
minor

Tracking

(Not tracked)

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: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
Depends on: 655997
No longer blocks: 641906
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: