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

Commit 4cbfe71b authored by Gustav Sennton's avatar Gustav Sennton
Browse files

Update WebView.getCurrentWebViewPackage documentation.

Explain when a WebView implementation change can occur, and what happens
when it occurs.

Bug: 35764852
Test: None (java-doc change).
Change-Id: I2d2bcccc2f16bc911636373bb47c64d846f15b2d
parent a33ae2d8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2784,6 +2784,10 @@ public class WebView extends AbsoluteLayout
     * package that was used to load it. Otherwise, the package that would be used if the WebView
     * was loaded right now will be returned; this does not cause WebView to be loaded, so this
     * information may become outdated at any time.
     * The WebView package changes either when the current WebView package is updated, disabled, or
     * uninstalled. It can also be changed through a Developer Setting.
     * If the WebView package changes, any app process that has loaded WebView will be killed. The
     * next time the app starts and loads WebView it will use the new WebView package instead.
     * @return the current WebView package, or null if there is none.
     */
    public static PackageInfo getCurrentWebViewPackage() {