Closed
Bug 1216307
Opened 10 years ago
Closed 5 years ago
Remove unused method hasOtherSyncClients
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox45 unaffected)
RESOLVED
INCOMPLETE
Firefox 45
| Tracking | Status | |
|---|---|---|
| firefox45 | --- | unaffected |
People
(Reporter: mcomella, Unassigned, Mentored)
References
Details
(Whiteboard: [lang=java])
Attachments
(3 files)
|
1.91 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
|
40 bytes,
text/x-review-board-request
|
Details | |
|
2.99 KB,
patch
|
mcomella
:
review-
|
Details | Diff | Splinter Review |
To start, set up a build environment - you can see the instructions here: https://wiki.mozilla.org/Mobile/Fennec/Android
Then, you'll need to create a patch to upload - see
https://wiki.mozilla.org/Mobile/Fennec/Android#Creating_commits_and_submitting_patches
To fix this bug, remove the unused method ActivityChooserModel.hasOtherSyncClients [1].
If you need any help, you can reply to this bug, or feel free to message me on IRC - my nick is "mcomella" and you can find me in #mobile. If you need IRC setup instructions, see https://wiki.mozilla.org/IRC
Thanks and happy coding! ^_^
[1]: https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/widget/ActivityChooserModel.java?rev=35336ca96de2#1298
Comment 1•10 years ago
|
||
I have setup the the build environment. I am able to run
./mach build
./mach package
./mach install
and run the browser in my device.
I can see "private boolean hasOtherSyncClients()" method in ActivityChooserModel.java class.
Removing the method "hasOtherSyncClients()" from the "ActivityChooserModel.java" is the fix??
| Reporter | ||
Comment 2•10 years ago
|
||
(In reply to mails2bibin from comment #1)
> Removing the method "hasOtherSyncClients()" from the
> "ActivityChooserModel.java" is the fix??
That's correct! We'll assign you to the bug once you upload a patch. :)
By the way, you can use the "Need more information from" field to give a user a persistent notification so they'll be more likely to see your comments or questions.
Comment 3•10 years ago
|
||
I deleted the hasOtherSyncClients function.
Attachment #8682398 -
Flags: review?(michael.l.comella)
| Reporter | ||
Comment 4•10 years ago
|
||
| Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 8682398 [details] [diff] [review]
Remove unused method hasOtherSyncClients
Review of attachment 8682398 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me!
I made a push to our try test servers (above).
Once the push goes green, you can add the "checkin-needed" keyword [1] to get your patch checked in. Note that all patches added via checkin-needed keyword need an associated green try run. Let me know if you need help reading the results.
[1]: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch#Getting_the_patch_checked_into_the_tree
Attachment #8682398 -
Flags: review?(michael.l.comella) → review+
| Reporter | ||
Updated•10 years ago
|
Assignee: nobody → mrjohnsonalex
Updated•10 years ago
|
Status: NEW → ASSIGNED
Updated•10 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 7•10 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
| Reporter | ||
Comment 8•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/4bb9371611d91c1306b65da00c949b31baa917e6
Bug 1216307 - Backout e0ba952c2819 to backout top level shareplane (bug 1140048).
| Reporter | ||
Comment 9•10 years ago
|
||
re backout: see bug 1140048 comment 83. Since we backed out the bug 1140048 that added this bug, this does not affect any versions until bug 1140048 lands again.
Comment 10•10 years ago
|
||
Bug 1216307 - Backed out. r?mcomella
Attachment #8689629 -
Flags: review?(michael.l.comella)
| Reporter | ||
Comment 11•10 years ago
|
||
Comment on attachment 8689629 [details]
MozReview Request: Bug 1216307 - Backed out. r?mcomella
https://reviewboard.mozilla.org/r/25679/#review23123
Backouts don't need reviews and I already backed it out.
Thanks for the patch though!
Attachment #8689629 -
Flags: review?(michael.l.comella)
Comment 12•10 years ago
|
||
I am computer science student , i would like to fix this bug , is that okay ? :)
Comment 13•10 years ago
|
||
(In reply to hassani2 from comment #12)
> I am computer science student , i would like to fix this bug , is that okay
> ? :)
We must wait till bug 1140048 relands before we land this bug. See comment 9.
Updated•10 years ago
|
Assignee: alex_johnson24 → hassani2
| Reporter | ||
Comment 14•10 years ago
|
||
I don't think bug 1140048 will reland soon – we need to complete bug 1217174 first, which is a bit of work and prioritized.
hassani2, would you like to talk a look at bug 1164307?
| Reporter | ||
Updated•10 years ago
|
Assignee: hassani2 → nobody
Comment 15•10 years ago
|
||
Same for this bug, we should just address removing unused code in the same patch that removes the callsites.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 16•10 years ago
|
||
I'd like to leave this open so we don't forget to do it as part of bug 1140048.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Comment 17•10 years ago
|
||
Deleted method hasOtherSyncClients() as well as its callsite.
Attachment #8706468 -
Flags: review?(michael.l.comella)
| Reporter | ||
Comment 18•10 years ago
|
||
Comment on attachment 8706468 [details] [diff] [review]
bug-1216307-fix.patch
Removing this depends on the completion of bug 1140048 first (or more likely bug 1217174).
Attachment #8706468 -
Flags: review?(michael.l.comella) → review-
Comment 19•9 years ago
|
||
Hi Michael, I am Java certified and also a newbie here.I want to resolve this bug.May be I can help you.
Updated•9 years ago
|
Flags: needinfo?(michael.l.comella)
| Reporter | ||
Comment 20•9 years ago
|
||
(In reply to Swarnim from comment #19)
> Hi Michael, I am Java certified and also a newbie here.I want to resolve
> this bug.May be I can help you.
Hi Swarnim – this bug requires bug 1140048 to be completed first. Perhaps you'd like to take a look at bug 1042201?
Flags: needinfo?(michael.l.comella)
Comment 21•9 years ago
|
||
Yes Michael, I have gone through Bug 1042201 - Search provider suggestions widget for error pages.I read all the comments and attachments but still having some doubts related to that bug.Perhaps I have to talk with the Mentor:Margaret Leibovic.
Thankyou Michael
Comment 22•9 years ago
|
||
Hello,
I'am really interesting to try to fix a bug (I am beginner).
I install intelliJ,and import mozilla center, but i don't know with witch bug i can start.
Anybody can advise to me ? :)
Thank you in advance for your sugestions
| Reporter | ||
Comment 23•9 years ago
|
||
Hey Alex! Welcome to Bugzilla.
Unfortunately, this isn't a good bug to start because it requires bug 1140048 to be completed first. Perhaps you can take a look at bug 1242629?
By the way, you can find us on mozilla irc in the channel #mobile if you have further questions!
Comment 24•9 years ago
|
||
Hi Michael,
Thanks for your answer !
I will see the bug 1242629 :)
Comment 25•9 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #23)
> Hey Alex! Welcome to Bugzilla.
>
> Unfortunately, this isn't a good bug to start because it requires bug
> 1140048 to be completed first. Perhaps you can take a look at bug 1242629?
Wouldn't we want to remove the "good first bug" whiteboard tag then?
Flags: needinfo?(michael.l.comella)
| Reporter | ||
Comment 26•9 years ago
|
||
(In reply to Andreas Wagner [:TheOne] from comment #25)
> > Unfortunately, this isn't a good bug to start because it requires bug
> > 1140048 to be completed first. Perhaps you can take a look at bug 1242629?
>
> Wouldn't we want to remove the "good first bug" whiteboard tag then?
From a correctness point of view, I don't think so: bugs that have unfixed dependencies can still be [good first bug]s (when they're ready to be worked on).
However, ideally we wouldn't broadcast [good first bug]s that have unfixed dependencies to avoid issues where someone comes in to work on a bug but doesn't see the dependencies. Unfortunately, it's too much bookkeeping to only add the [good first bug] flags once the dependencies are fixed.
I think the ideal solution here would be to update the [good first bug] tools to only display [good first bug]s that don't have dependencies.
That being said, I don't think bug 1140048 will get fixed any time soon so I'm going to remove the [good first bug] tag. Thanks for pointing it out.
Flags: needinfo?(michael.l.comella)
Whiteboard: [lang=java][good first bug] → [lang=java]
Comment 27•5 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 5 years ago
Resolution: --- → INCOMPLETE
| Assignee | ||
Updated•5 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
•