Revert "Address even more lint errors."
This reverts commit e98ee991b34d318e671c644d63daec53902e68ff.
Revert "Update to Gradle 6.6.1."
This reverts commit cdda701c8f2be6c0486ddf1494885accf78aab00.
Revert "Address lint errors."
This reverts commit 26cb5b27bc2be672c89e7e0c63eeeda9f64c0d08.
Revert "Move JNA configuration to root project."
This reverts commit 694ef37cc30e727f3ec5d275c0e9583385980a43.
Revert "Issue https://github.com/mozilla-mobile/android-components/issues/8319: Update to Kotlin 1.4, Coroutines 1.3.9 and Android lint 27.0.1."
This reverts commit ad675c35e794050dbf8514a2d2fe7506ce0c546c.
Revert "Update Glean to 33.0.4."
This reverts commit 4731c4e2fa52d40f4062a47f02078ca0c85de632.
Revert "Update Glean to 33.0.0."
This reverts commit 352cf88a4d4bad64330d0ec997814fd8b13928c2.
Revert "Update Gradle to 6.1.1."
This reverts commit 18e88aa1a2528b10f7d81ff9dbf1df094071b6ce.
Revert "Update Android Gradle Plugin to 4.0.1."
This reverts commit f915a3b47b0f5584889ff62a80c9642bccfa36ce.
8310: Lazily restore engine sessions after content process kill or crash. r=csadilek a=pocmo
* Instead of keeping the `EngineSessionState` inside `EngineSession`, we now always attach it to `EngineState` and also do not clear it anymore.
* If the content process gets killed we now just suspend affected `EngineSession` instances. They will automatically and lazily get restored from the last `EngineSessionState` once needed.
* On a content process crash we now mark the `EngineState` as crashed and suspend the `EngineSession`. We will not restore the `EngineSession` until explicitly restored by the application (Fenix shows UI to the user for that).
Once this lands we can also change the `AutoSave` behavior since we now get a new state pushed and know that we can save it. I filed https://github.com/mozilla-mobile/android-components/issues/8308 for that.
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
* Instead of keeping the EngineSessionState inside EngineSession, we now always attach it to EngineState and also do not
clear it anymore.
* If the content process gets killed we now just suspend affected EngineSession instances. They will automatically and
lazily get restored from the last EngineSessionState once needed.
* On a content process crash we now mark the EngineState as crashed and suspend the EngineSession. We will not restore
the EngineSession until explicitly restored by the application.
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Issue https://github.com/mozilla-mobile/android-components/pull/8121: Replace MigrationStore with MigrationContext and prevent usage outside of a Middleware.
* Before executing the reducer chain we now verify that we are on the store thread and throw if we are on a different thread.
* MigrationContext now provides a store property that returns the underlying Store instance. This can be used to pass it to
other components and threads that are not part of the Middleware.
* Fixed existing Middleware implementations to use the MiddlewareContext or pass the actual Store instance around.
7604: Closes https://github.com/mozilla-mobile/android-components/issues/7603: Direct navigation should open in external app if user preference is on r=csadilek a=rocketsroger
7612: GeckoView update (beta) (20200703-140633) r=Amejia481 a=MickeyMoz
7613: GeckoView update (nightly) (20200703-140635) r=Amejia481 a=MickeyMoz
Co-authored-by: Roger Yang <royang@mozilla.com>
Co-authored-by: MickeyMoz <sebastian@mozilla.com>
Checking firstContenfulPaint is not reliable to determine whether
or not the compositor is ready. There's no other way for us right
now to handle this but to catch all and return a null bitmap.
With the previous patch, we fixed a bug where we need to check if a
subscription exists. This new (correct) behaviour broke our original
implementation of how to handle the null case in the engine.