Consider removing GeckoApp.ACTION_LOAD

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: mcomella, Unassigned, Mentored)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

It's really old (bug 713503 [1]) and doesn't seem to be used in the same way it used to be.

It currently appears to be used to open Youtube videos inside the local Fennec instance, however, I think we should use ACTION_VIEW with an explicit receiving Activity. Caveats:
  * An explicit receiving Activity may cause issue with the BrowserApp/GeckoApp disconnection - if we send to GeckoApp, will BrowserApp receive the Intent?
  * ACTION_VIEW may do more than we want it to do (meaning there are some side effects and/or it is less performant than we'd like). If that's the case, it should probably be cleaned up to allow this to happen.

[1]: https://hg.mozilla.org/integration/fx-team/rev/952ff8dadb81
You need to log in before you can comment on or make changes to this bug.