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

Commit cae1c7a6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "WebView: defend against null array" into main

parents 2104427f c11576fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ public class WebViewUpdateServiceWrapper {
     * validity of a package is not dependent on whether the package is installed/enabled.
     */
    public List<ApplicationInfo> getValidWebViewApplicationInfos(Context context) {
        WebViewProviderInfo[] providers = null;
        WebViewProviderInfo[] providers = new WebViewProviderInfo[0];
        try {
            if (android.webkit.Flags.updateServiceIpcWrapper()) {
                providers = context.getSystemService(WebViewUpdateManager.class)