Closed
Bug 1063041
Opened 10 years ago
Closed 10 years ago
Inline the activity options used in the SMS app in order to make it easier to automatically extract the activity arguments from the source code
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.1 S4 (12sep)
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1062564 +++ I'm working on a static analysis tool which can extract information about all MozActivity API usages from the gaia source code. It's much simper for this tool if the activity options argument was passed as an inline JS object. I have a simple patch which does this for the SMS app. (I would be open to other approaches too BTW, I cannot think of a better one.)
Assignee | ||
Comment 1•10 years ago
|
||
Updated•10 years ago
|
Component: Gaia::Dialer → Gaia::SMS
Comment 2•10 years ago
|
||
Comment on attachment 8484374 [details] [review] Patch (v1) Redirecting because Julien is on PTO.
Attachment #8484374 -
Flags: review?(felash) → review?(azasypkin)
Comment 3•10 years ago
|
||
Comment on attachment 8484374 [details] [review] Patch (v1) r=me with one nit on Github! Just a thought: IMO there is a chance that MozActivity usage in this particular case can be generalized once again in the future as it feels naturally from dev stand point. So if static analysis tool is not going to handle such "generalized" cases in the future, maybe we need explicit code comment about that :) Thanks!
Attachment #8484374 -
Flags: review?(azasypkin) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Sure, that's a good idea. I will add a comment there.
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 5•10 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/4abb193ddae0f9780ad12ffe5e31772feee3926a
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S4 (12sep)
You need to log in
before you can comment on or make changes to this bug.
Description
•