gecko-dev/mobile
Jan Henning cb0745a3da Bug 1407835 - Don't keep BrowserApp unnecessarily alive through sScreenOrientationDelegate. r=nalexander
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
2017-10-12 20:06:51 +02:00
..
android Bug 1407835 - Don't keep BrowserApp unnecessarily alive through sScreenOrientationDelegate. r=nalexander 2017-10-12 20:06:51 +02:00
locales no bug - Bumping Fennec l10n changesets r=release a=l10n-bump 2017-10-03 10:41:08 -07:00