Communications and cost-control apps are always foreground

RESOLVED INVALID

Status

Firefox OS
Gaia
RESOLVED INVALID
5 years ago
5 years ago

People

(Reporter: Justin Lebar (not reading bugmail), Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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.
(Reporter)

Comment 2

5 years ago
Thanks, Salva.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.