Closed Bug 957335 Opened 10 years ago Closed 10 years ago

[Notifications] Tapping email notification won't launch email app if process isnt already running

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 952657

People

(Reporter: tchung, Unassigned)

References

()

Details

Attachments

(1 file)

Attached file logcat
If the email app isnt' already running in the background, tapping a new email notification from status bar dropdown will not navigate the user to the App.   It only seems to work when the Email app is already running.

Full Logcat attached.  ALso, see screencast for visual repro steps:
http://youtu.be/49IS7I97y18

Snippet: 
01-07 14:01:35.672: I/Gecko(645): [32mWLOG: cronsync: ensureSync called
01-07 14:01:35.672: I/Gecko(645): [0m
01-07 14:01:35.682: E/QCALOG(191): [MessageQ] ProcessNewMessage: [XT-CS] unknown deliver target [OS-Agent]
01-07 14:01:35.682: I/Gecko(645): [32mWLOG: Mail universe/bridge created and notified![0m
01-07 14:01:35.682: E/QCALOG(191): [MessageQ] ProcessNewMessage: [XTWWAN-PE] unknown deliver target [OS-Agent]
01-07 14:01:35.732: I/GeckoDump(645): [32mLOG: cronsync-main: ensureSync called[0m
01-07 14:01:35.752: I/GeckoDump(645): [32mLOG: pushCard for type: message_list[0m
01-07 14:01:35.922: I/GeckoDump(645): [32mLOG: cronsync-main: success: mozAlarms.add for IDs: 0 at 20000ms[0m
01-07 14:01:35.932: I/Gecko(645): [32mWLOG: cronsync: received an syncEnsured via a message handler

Processes running at the time:
host-2-36:Scripts tchung$ adb shell b2g-ps
APPLICATION      USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
b2g              root      137   1     183356 71128 ffffffff 4012f604 S /system/b2g/b2g
Usage            app_358   358   137   68612  27104 ffffffff 400f9604 S /system/b2g/plugin-container
Homescreen       app_455   455   137   87340  31044 ffffffff 400c4604 S /system/b2g/plugin-container
(Preallocated a  root      1275  137   64332  22508 ffffffff 40122604 S /system/b2g/plugin-container
host-2-36:Scripts tchung$ 


Repro:
1) install 1.3 nightly build on Buri

Gaia      ff5f06dd321f7d2bf4a5b311ded2c56e865d4f83
Gecko     http://hg.mozilla.org/releases/mozilla-aurora/rev/71ad7ff30010
BuildID   20140107004001
Version   28.0a2
ro.build.version.incremental=291

2) set up email app with an account, then close the app process
3) send yourself an email and wait for the email notification
4) when notification arrives, pull down status bar, and tap the notification
5) Verify the Email app does not launch.   However, if you have the email app already running, then it will launch.

Expected:
- Email app launches from tapping notification, even though app isnt running in background

ActuaL:
- Email app doesnt launch
Tried to compare to the Message App, by sending it SMS and tapping the pulldown notification.   With the messages app, the App process will open as soon as the notification lands.   hence, when tapping the notification, it will navigate to the Messages App as expected.   

Alternately, Email app doesnt launch on notification arrival yet. 

BEFORE SMS notification arrives ---
host-2-36:Scripts tchung$ adb shell b2g-ps
APPLICATION      USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
b2g              root      137   1     194560 64864 ffffffff 4012f604 S /system/b2g/b2g
Usage            app_358   358   137   69572  24460 ffffffff 400f9604 S /system/b2g/plugin-container
Homescreen       app_455   455   137   90984  33372 ffffffff 400c4604 S /system/b2g/plugin-container
(Preallocated a  root      2243  137   65356  22588 ffffffff 400a8604 S /system/b2g/plugin-container

AFTER SMS notifcation arrives --
host-2-36:Scripts tchung$ adb shell b2g-ps
APPLICATION      USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
b2g              root      137   1     200000 67000 ffffffff 4012f604 S /system/b2g/b2g
Usage            app_358   358   137   68612  24476 ffffffff 400f9604 S /system/b2g/plugin-container
Homescreen       app_455   455   137   103792 36480 ffffffff 400c4604 S /system/b2g/plugin-container
Messages         app_2243  2243  137   78772  32520 ffffffff 400a8604 S /system/b2g/plugin-container
(Preallocated a  root      2350  137   66380  22560 ffffffff 400c2604 S /system/b2g/plugin-container
Status: NEW → RESOLVED
blocking-b2g: 1.3? → ---
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: