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.
Created attachment 531094 [details] [diff] [review]
This patch registers/unregisters the listener on Resume/Pause, just like the stock Android Browser app does.