Closed Bug 835825 Opened 11 years ago Closed 11 years ago

Communications and cost-control apps are always foreground

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: justin.lebar+bug, Unassigned)

References

Details

STR:
  * Reboot the phone
  * Receive a call
  * Don't accept the call.
  * With the screen still on (before it goes to sleep), run
    $ adb shell b2g-ps --oom

Actual results:

Cost control and communications apps are in the foreground:

> APPLICATION       OOM_ADJ 
> b2g                  0     
> Cost Control         1     
> Homescreen           1     
> Communications       1     

Expected results:

CC and Communications should be in the bg (OOM_ADJ == 6).

I'm seeing this with a patched Gecko/Gaia build.  I don't believe my patches are causing this problem, but we need to test with a clean build.  Sorry I don't have time to context switch back to a clean build to verify this right now.
With a fresh installation (gecko revision b8fe91c957fc9c65d5606efdb614a63d176787c2; latest Gaia, branch master), and after reproducing the steps I'm retrieving these results:

Before call:
APPLICATION       OOM_ADJ  
b2g                  0     
Cost Control         6     
Homescreen           1     
(Preallocated a      6 

After call:
APPLICATION       OOM_ADJ
b2g                  0   
Cost Control         6   
Homescreen           1   
Communications       6   
(Preallocated a      6 

Hope it helps.
Thanks, Salva.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.