Closed Bug 1033560 Opened 11 years ago Closed 11 years ago

Enable casting to chromecast on developer builds

Categories

(Firefox for Android Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: wesj, Assigned: wesj)

Details

Attachments

(1 file, 2 obsolete files)

Attached patch Patch (obsolete) — Splinter Review
No description provided.
Comment on attachment 8449639 [details] [diff] [review] Patch Didn't mean to mark this bug secure. Need to test this patch. Not sure if you'd rather have f? or r? since its untested, so I went with f?
Attachment #8449639 - Flags: feedback?(blassey.bugs)
Group: core-security
Attachment #8449639 - Attachment is patch: true
Attached patch enablecast (obsolete) — Splinter Review
Tested this locally and it works well (requires a clobber though).
Attachment #8449639 - Attachment is obsolete: true
Attachment #8449639 - Flags: feedback?(blassey.bugs)
Attachment #8450412 - Flags: review?(blassey.bugs)
Comment on attachment 8450412 [details] [diff] [review] enablecast Review of attachment 8450412 [details] [diff] [review]: ----------------------------------------------------------------- I think you need build peer review for the configure.in change ::: mobile/android/base/ChromeCast.java @@ +134,5 @@ > > public ChromeCast(Context context, RouteInfo route) { > + int status = GooglePlayServicesUtil.isGooglePlayServicesAvailable(context); > + if (status != ConnectionResult.SUCCESS) { > + throw new IllegalStateException("Play services are required for Chromecast support (go status code " + status + ")"); this will get caught here https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/MediaPlayerManager.java#202
Attachment #8450412 - Flags: review?(blassey.bugs) → review+
Attachment #8450412 - Flags: review?(gps)
Comment on attachment 8450412 [details] [diff] [review] enablecast Review of attachment 8450412 [details] [diff] [review]: ----------------------------------------------------------------- This is essentially r+ except for the naming. I could also bikeshed about making this opt-in based on a positive configure result. i.e. should we only set this variable if we're building Fennec? ::: configure.in @@ +7684,5 @@ > +dnl = --disable-native-devices > +dnl ======================================================== > + > +MOZ_ARG_DISABLE_BOOL(native-devices, > +[ --disable-native-devices Disable native casting devices], "native devices" is somewhat ambiguous to me. Keep in mind that this configure script applies to desktop, Android, Firefox OS, and every other Gecko product. Perhaps "device casting" would be better? But even then, "device casting" isn't very descriptive. I don't know the problem space well enough to suggest anything better. Naming is hard.
Attachment #8450412 - Flags: review?(gps) → feedback+
Attached patch PatchSplinter Review
I renamed this to MOZ_NATIVE_CASTING since it doesn't control casting entirely, just casting using native Java interfaces. What do you think?
Attachment #8450412 - Attachment is obsolete: true
Attachment #8451797 - Flags: review?(gps)
Comment on attachment 8451797 [details] [diff] [review] Patch Review of attachment 8451797 [details] [diff] [review]: ----------------------------------------------------------------- I still think the name could be improved. But I got nothing better. We can always apply sed later.
Attachment #8451797 - Flags: review?(gps) → review+
Assignee: nobody → wjohnston
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Don't you modify android.m4 to replace MOZ_NATIVE_DEVICES with MOZ_NATIVE_CASTING?
(In reply to Makoto Kato (:m_kato) from comment #8) > Don't you modify android.m4 to replace MOZ_NATIVE_DEVICES with > MOZ_NATIVE_CASTING? Yeah, this is busted.
(In reply to Nick Alexander :nalexander from comment #9) > (In reply to Makoto Kato (:m_kato) from comment #8) > > Don't you modify android.m4 to replace MOZ_NATIVE_DEVICES with > > MOZ_NATIVE_CASTING? > > Yeah, this is busted. Bustage fix pushed to fx-team: https://hg.mozilla.org/integration/fx-team/rev/13d9e025fc86 Just realized this already hit central, so I should have opened a new ticket.
backed these out: https://hg.mozilla.org/integration/fx-team/rev/04cf8536314c The autoconf stuff is apparently running thinking this is enabled. We need to fix that.
Reopening. Not a high priority on my plate. Focused more on bug 1016529, but will grab this again if it isn't going to make it.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: Firefox 33 → ---
I don't want to do this anymore
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → WONTFIX
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: