[fenix] For https://github.com/mozilla-mobile/fenix/issues/11918: Take a screenshot when clicking the tab tray
We looked into taking a screenshot right before leaving the BrowserFragment, however this call will always fail since it's non-blocking (we never want it to be blocking too), and we will never receive a screenshot when a session is detached from an EngineView before the callback is complete. In Fenix, we can nicely evade this by taking a screenshot when click the tabs tray icon, which is where you would want to see the most up-to-date thumbnail of the tab and also does not leave the BrowserFragment as well.pull/600/head
parent
dc44991fea
commit
76e3bccb06
Loading…
Reference in New Issue