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)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: wesj, Assigned: wesj)
Details
Attachments
(1 file, 2 obsolete files)
15.62 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
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)
![]() |
||
Updated•11 years ago
|
Group: core-security
Updated•11 years ago
|
Attachment #8449639 -
Attachment is patch: true
Assignee | ||
Comment 2•11 years ago
|
||
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 3•11 years ago
|
||
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+
Assignee | ||
Updated•11 years ago
|
Attachment #8450412 -
Flags: review?(gps)
![]() |
||
Comment 4•11 years ago
|
||
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+
Assignee | ||
Comment 5•11 years ago
|
||
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 6•11 years ago
|
||
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
Comment 8•11 years ago
|
||
Don't you modify android.m4 to replace MOZ_NATIVE_DEVICES with MOZ_NATIVE_CASTING?
Comment 9•11 years ago
|
||
(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.
Comment 10•11 years ago
|
||
(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.
Assignee | ||
Comment 11•11 years ago
|
||
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.
Assignee | ||
Comment 12•11 years ago
|
||
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 → ---
Updated•11 years ago
|
Target Milestone: Firefox 33 → ---
Assignee | ||
Comment 13•11 years ago
|
||
I don't want to do this anymore
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → WONTFIX
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
•