зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
f24537c705
Коммит
f8c1d206ce
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче