Closed Bug 1148007 Opened 9 years ago Closed 9 years ago

Show Queue Tab toast only if Tab Queue preference is enabled

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox41 verified)

VERIFIED FIXED
Firefox 40
Tracking Status
firefox41 --- verified

People

(Reporter: mhaigh, Assigned: mhaigh)

References

Details

Attachments

(1 file)

If the Tab Queue feature is not enabled then load an Intent with an ACTION_VIEW action normally, otherwise add to the Tab Queue .
Summary: Queue Tab only if Tab Queue preference is enabled → Show Queue Tab toast only if Tab Queue preference is enabled
Comment on attachment 8583986 [details] [diff] [review]
Show Queue Tab toast only if Tab Queue preference is  enabled

Review of attachment 8583986 [details] [diff] [review]:
-----------------------------------------------------------------

lgtm

::: mobile/android/base/tabqueue/TabQueueDispatcher.java
@@ +54,5 @@
>          }
>  
> +        boolean showOpenInBackgroundToast = GeckoSharedPrefs.forApp(this).getBoolean(GeckoPreferences.PREFS_TAB_QUEUE, false);
> +
> +        if (showOpenInBackgroundToast) {

nit: -> shouldShowOpenInBackgroundToast

If you don't like this style of boolean naming, just let me know and I'll stop mentioning it. :)
Attachment #8583986 - Flags: review?(michael.l.comella) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
With "open multiple links" pref disabled, opening a link from gmail will pop-up a "Complete action using" dialog and after choosing Nightly, the link will open in Nightly.
With "open multiple links" pref enabled,opening a link from gmail will pop-up a "Complete action using" dialog and after choosing Nightly, "Tab queued in Nightly | Open Now" notification appears.

Verified as fixed using:
Device: Samsung s5 (Android 4.4.4)
Build: Firefox for Android 41.a1 (2015-05-27)
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: