Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 741f769f authored by Gustav Sennton's avatar Gustav Sennton
Browse files

Use nonruntime exception in WebViewUpdateService if no webview available

We have been throwing the run-time exception
WebViewFactory.MissingWebViewPackageException when there are no webview
packages available in the WebViewUpdateService. The reason for using a
run-time exception (being able to crash an app loading WebView without
having to declare that each method loading a WebView throws a certain
exception) is not valid for the WebViewUpdateService and we now use a
non-run-time exception to ensure we don't miss catching any of its
instantiations.

Bug: 28133972

Change-Id: I739333afc739e9cf72188996a904d6a0244d8ebf
parent cda498e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment