Closed
Bug 1365126
Opened 8 years ago
Closed 8 years ago
Remove GeckoInterface.createShortcut
Categories
(GeckoView :: General, enhancement)
Tracking
(firefox55 fixed)
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
References
Details
Attachments
(1 file)
(deleted),
patch
|
droeh
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
Move shortcut creation code in GeckoApp to GeckoApplication, and make
the methods static so that we can call them without a GeckoInterface
instance. This lets us remove GeckoInterface.createShortcut.
Attachment #8868170 -
Flags: review?(droeh)
Comment 2•8 years ago
|
||
Comment on attachment 8868170 [details] [diff] [review]
Move shortcut creation to static methods in GeckoApplication (v1)
Review of attachment 8868170 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good with a couple of nits.
::: mobile/android/base/java/org/mozilla/gecko/GeckoApplication.java
@@ +445,5 @@
> + }
> + });
> + }
> +
> + /* protected */ static void createShortcutWithIcon(final String aTitle, final String aURI,
Did you mean /* package */ here?
::: mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/ActivityUtils.java
@@ +61,5 @@
>
> /**
> * Finish this activity and launch the default home screen activity.
> */
> + public static void goToHomeScreen(Context activity) {
Rename activity to context.
Attachment #8868170 -
Flags: review?(droeh) → review+
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6f5485d306e1
Move shortcut creation to static methods in GeckoApplication; r=droeh
Comment 4•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Updated•6 years ago
|
Target Milestone: Firefox 55 → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•