Closed
Bug 1161134
Opened 9 years ago
Closed 9 years ago
Suggest using AppConstants.BROWSER_INTENT_CLASS_NAME instead of BrowserApp.class
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox40 fixed)
RESOLVED
FIXED
Firefox 40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: toonetown, Assigned: toonetown)
References
Details
Attachments
(1 file)
6.51 KB,
patch
|
nalexander
:
review+
|
Details | Diff | Splinter Review |
When setting up new intents, in a couple of places, the class name on the intent is set directly to BrowserApp.class.
Most places, however, use Intent.setClassName(AppConstants.ANDROID_PACKAGE_NAME, AppConstants.BROWSER_INTENT_CLASS_NAME). I would suggest that would be a better approach, because if the name of the browser intent changes (i.e. when doing branding, etc), then it is a single place to be updated (in AppConstants).
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → nathan
Assignee | ||
Comment 1•9 years ago
|
||
First stab at using the AppConstants value instead of setting the class directly. I believe this is a better approach.
Attachment #8601012 -
Flags: review?(nalexander)
Assignee | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Comment on attachment 8601012 [details] [diff] [review]
bug-1161134.diff
Review of attachment 8601012 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. If try is green, roll on.
Attachment #8601012 -
Flags: review?(nalexander) → review+
Updated•9 years ago
|
Status: NEW → ASSIGNED
OS: Unspecified → Android
Hardware: Unspecified → All
Summary: Suggest using AppConstants.BROWSER_INTNET_CLASS_NAME instead of BrowserApp.class → Suggest using AppConstants.BROWSER_INTENT_CLASS_NAME instead of BrowserApp.class
Assignee | ||
Comment 4•9 years ago
|
||
Build is green (tests are still running), but I don't have commit access.
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 7•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 40
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
•