Closed Bug 697360 Opened 13 years ago Closed 13 years ago

com.android.browser process starts up in the background after launching Fennec

Categories

(Firefox for Android Graveyard :: General, defect, P4)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nhirata, Assigned: dougt)

Details

(Keywords: perf)

1. kill the default web browser
2. launch the native ui version with command line :
example : 
am start -a android.intent.action.VIEW -n org.mozilla.fennec/.App -d file://mnt/sdcard/download/startup5.html#"`millistring=\`/data/local/time\`; echo \`date \"+%s\"\`${millistring##*.}`"
3. look at the processes running

Expected: default web browser should not be running
Actual: default web browser is running

Note:
1. does not happen with Opera
2. Birch Branch : 10/25/2011 build
I see this too; step 2 is overkill, just kill com.android.browser, and launch Fennec and do an 'adb shell | grep app', you'll see com.android.browser and org.mozilla.fennec

--
Samsung Nexus S
Mozilla/5.0 (Android; Linux armv7l; rv:10.0a1) Gecko/20111026 Firefox/10.0a1 Fennec/10.0a1
Summary: Birch Build opens up default web browser in the background → com.android.browser process starts up in the background after launching Fennec
^ 'adb shell ps | grep app' -- also com.android.browser is not killed on Fennec quit
Assignee: nobody → doug.turner
Priority: -- → P4
I tested this out on XUL fennec, and this doesn't happen. I also noticed that if you kill the android browser process, the fennec process dies as well.

In the adb log, during startup I see:
11-01 13:26:00.459  1502  1508 I ActivityManager: Start proc com.android.browser for content provider com.android.browser/.BrowserProvider: pid=12987 uid=10083 gids={9003, 9007, 1000, 1001, 9008, 3003, 1015}

I'd guess this is caused by Brad's patch to use native history APIs (https://hg.mozilla.org/projects/birch/rev/208cba10065b), so I'm not sure if this is actually a bug we can fix if we want to keep using those APIs. I cc'd Brad for his input.
this is the way android works. We're using service from that package so a process gets started with that name.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.