Bug 1524868 - StartActivity must be called from Activity context and not Application context.;r=VladBaicu

Differential Revision: https://phabricator.services.mozilla.com/D32481

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Brad Arant 2019-05-24 15:11:23 +00:00
Родитель f24537c705
Коммит f8c1d206ce
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1143,7 +1143,7 @@ public class BrowserApp extends GeckoApp
// User clicked a new link to be opened in Firefox.
// We returned from Picture-in-picture mode and now must try to open that link.
if (startingIntentAfterPip != null) {
getApplication().startActivity(startingIntentAfterPip);
startActivity(startingIntentAfterPip);
startingIntentAfterPip = null;
} else {
// Get if the user pressed in the PIP window to return to full app or closed it entirely