Fennec network status listener is started on device boot

RESOLVED FIXED in mozilla6

Status

()

Core
Widget: Android
--
minor
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: mbrubeck, Assigned: mbrubeck)

Tracking

({polish})

Trunk
mozilla6
All
Android
polish
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [has patch])

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
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.
(Assignee)

Comment 1

6 years ago
Created attachment 531094 [details] [diff] [review]
patch

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)
(Assignee)

Updated

6 years ago
Keywords: polish
Whiteboard: [has patch]
Attachment #531094 - Flags: review?(blassey.bugs) → review+
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/mozilla-central/rev/33992b8ef80e
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
(Assignee)

Updated

6 years ago
Depends on: 655997
Blocks: 641906
No longer blocks: 641906
You need to log in before you can comment on or make changes to this bug.