зеркало из https://github.com/mozilla/gecko-dev.git
cb0745a3da
We need to clear the reference again if BrowserApp is possibly going to be destroyed. At the moment there aren't any other activities using setScreenOrientationDelegate, but in preparation for that happening we unset BrowserApp as delegate already in onPause (instead of onDestroy) so we don't mistakenly assume that BrowserApp will remain the active ScreenOrientationDelegate all the time, even when it has been paused by some other activity. MozReview-Commit-ID: 9q0MSzi78Vm --HG-- extra : rebase_source : e5e1550d0d76fc21e36865489a3f3809f64468bf |
||
---|---|---|
.. | ||
android | ||
locales |