An application waiting for content from other application should not be killed

Bug #1596059 reported by Ratchanan Srirattanamet
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical System Image
New
Undecided
Unassigned
ubuntu-application-lifecycle
New
Undecided
Unassigned

Bug Description

Step to reproduce:
1. Find a device with 1 GB memory.
2. If you don't have the Facebook application, login into Facebook using Browser.
3. Long swipe from the right edge and close all applications.
4. Open and suspend Dialer, Contacts, Camera, Clock, and Music in this order.
5. Either:
5.1 Open Browser and go to Facebook
5.2 Open Facebook application
then try to post a photo. Choose Gallary as the provider.
6. In Gallary, choose a photo and then press the tick.

Expected result: The photo is successfully transferred to Browser/Facebook.
Actual result: Browser/Facebook's process is killed, noticed by the blurry screenshot of Browser/Facebook.

More info:
While I'm in step 5, I take a look at browser's oom_adj and noticed that its value is 13, which is the same value as suspended application. I think the value for the application waiting for content, or even for the previous application, should be higher. (Android does have the concept of previous application.)

Device: LG L90 Dual (my port).
Channel: ubuntu-touch/rc-proposed
Ubuntu build date (from build description): 20160624-085657

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.