Closed
Bug 1065070
Opened 10 years ago
Closed 10 years ago
Remove GeckoAppShell.geckoLoaded
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 35
People
(Reporter: jchen, Assigned: jchen)
Details
Attachments
(1 file)
2.36 KB,
patch
|
cpeterson
:
review+
|
Details | Diff | Splinter Review |
Right now the only code in GeckoAppShell.geckoLoaded has to do with setting up GeckoEditable, but this can be done elsewhere without needing to post a Runnable.
Assignee | ||
Comment 1•10 years ago
|
||
GeckoEditable initialization only depends on us having a LayerView, so it makes sense to move it to where we set our LayerView.
Attachment #8486656 -
Flags: review?(cpeterson)
Comment 2•10 years ago
|
||
Comment on attachment 8486656 [details] [diff] [review]
Get rid of geckoLoaded call in GeckoAppShell (v1)
Review of attachment 8486656 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM!
::: mobile/android/base/GeckoAppShell.java
@@ +299,5 @@
> private static LayerView sLayerView;
>
> public static void setLayerView(LayerView lv) {
> + if (sLayerView == lv) {
> + return;
Does this ever happen? Would this indicate a bug? If so, then consider logging a warning or throw an exception.
Attachment #8486656 -
Flags: review?(cpeterson) → review+
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Chris Peterson (:cpeterson) from comment #2)
> Comment on attachment 8486656 [details] [diff] [review]
> Get rid of geckoLoaded call in GeckoAppShell (v1)
>
> Review of attachment 8486656 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> LGTM!
>
> ::: mobile/android/base/GeckoAppShell.java
> @@ +299,5 @@
> > private static LayerView sLayerView;
> >
> > public static void setLayerView(LayerView lv) {
> > + if (sLayerView == lv) {
> > + return;
>
> Does this ever happen? Would this indicate a bug? If so, then consider
> logging a warning or throw an exception.
I think this might happen when "Don't keep activities" is turned on?
https://hg.mozilla.org/integration/mozilla-inbound/rev/198f2849d795
Comment 4•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
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
•