Closed
Bug 774422
Opened 13 years ago
Closed 13 years ago
Can't launch app from install notification
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect)
Firefox for Android Graveyard
Web Apps (PWAs)
Tracking
(firefox16 verified, firefox17 verified)
VERIFIED
FIXED
Firefox 17
People
(Reporter: wesj, Assigned: wesj)
Details
Attachments
(1 file)
2.51 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
There's a race going on here between the NotificationHandler bringing our app to the front and Gecko starting the new webapp intent. Apparently us coming to the front is winning now.
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/NotificationHandler.java.in#50
Assignee | ||
Comment 1•13 years ago
|
||
This changes the order that we dispatch these so the "bring App to the front" intent is sent before the webapp one.
Some part of me worries that this is just moving the race without solving the problem, but the Gecko bit is the only cross thread piece here and firing it after we call startActivity(AppIntent) should ensure that that intent is always dispatched second... I think?
Assignee: nobody → wjohnston
Attachment #642693 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Attachment #642693 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Updated•13 years ago
|
Whiteboard: [qa+]
Comment 3•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Comment 4•13 years ago
|
||
Looks good. V-F on M-C (Nightly 07/17), GN 4.1.1
Does this need to be uplifted to Aurora?
Status: RESOLVED → VERIFIED
status-firefox16:
--- → affected
status-firefox17:
--- → fixed
Whiteboard: [qa+]
Comment 5•13 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #4)
> Looks good. V-F on M-C (Nightly 07/17), GN 4.1.1
>
> Does this need to be uplifted to Aurora?
I think so. Wes, please nom.
Assignee | ||
Comment 6•13 years ago
|
||
Comment on attachment 642693 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): This code has been here a long time, but something got faster and started triggering this race. No idea what it was.
User impact if declined: Notifications that launch intents might not work.
Testing completed (on m-c, etc.): Landed on mc Jul 17.
Risk to taking this patch (and alternatives if risky): Low risk. Just reordering existing code.
String or UUID changes made by this patch: None.
Attachment #642693 -
Flags: approval-mozilla-aurora?
Comment 7•13 years ago
|
||
Comment on attachment 642693 [details] [diff] [review]
Patch
[Triage Comment]
Approving for Aurora 16. Is this low-risk/high-reward enough for uplift to Beta 15?
Attachment #642693 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 8•13 years ago
|
||
(In reply to Alex Keybl [:akeybl] from comment #7)
> Comment on attachment 642693 [details] [diff] [review]
> Patch
>
> [Triage Comment]
> Approving for Aurora 16. Is this low-risk/high-reward enough for uplift to
> Beta 15?
Nah. WebApps is not going to be enabled on Fx15 (Beta)
Comment 9•13 years ago
|
||
Updated•13 years ago
|
Whiteboard: [qa+]
Updated•13 years ago
|
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•