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

Commit e3183138 authored by Torne (Richard Coles)'s avatar Torne (Richard Coles)
Browse files

Deprecate android.webkit.WebViewUpdateService.

This is replaced by WebViewUpdateManager which follows proper platform
conventions for IPC client classes.

Bug: 319292658
Test: n/a
Flag: android.webkit.update_service_ipc_wrapper
Change-Id: Ie30b12474a289462da48d8ba6451d40d40d4ff14
parent 8192775f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -18986,10 +18986,10 @@ package android.webkit {
    field public final android.content.pm.Signature[] signatures;
  }
  public final class WebViewUpdateService {
    method public static android.webkit.WebViewProviderInfo[] getAllWebViewPackages();
    method public static String getCurrentWebViewPackageName();
    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public static android.webkit.WebViewProviderInfo[] getValidWebViewPackages();
  @Deprecated @FlaggedApi("android.webkit.update_service_ipc_wrapper") public final class WebViewUpdateService {
    method @Deprecated public static android.webkit.WebViewProviderInfo[] getAllWebViewPackages();
    method @Deprecated public static String getCurrentWebViewPackageName();
    method @Deprecated @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public static android.webkit.WebViewProviderInfo[] getValidWebViewPackages();
  }
}
+4 −0
Original line number Diff line number Diff line
@@ -16,14 +16,18 @@

package android.webkit;

import android.annotation.FlaggedApi;
import android.annotation.RequiresPermission;
import android.annotation.SystemApi;
import android.compat.annotation.UnsupportedAppUsage;
import android.os.RemoteException;

/**
 * @deprecated Use the {@link WebViewUpdateManager} class instead.
 * @hide
 */
@FlaggedApi(Flags.FLAG_UPDATE_SERVICE_IPC_WRAPPER)
@Deprecated
@SystemApi
public final class WebViewUpdateService {