Bug 1754244 - Remove deprecated enterpiseRootsEnabled. r=calu

Differential Revision: https://phabricator.services.mozilla.com/D138165
This commit is contained in:
Agi Sferro 2022-02-08 18:04:26 +00:00
parent 443945e8ff
commit 552a9e761b
3 changed files with 5 additions and 19 deletions

View File

@ -825,7 +825,6 @@ package org.mozilla.geckoview {
method @NonNull public GeckoRuntimeSettings.Builder displayDensityOverride(float);
method @NonNull public GeckoRuntimeSettings.Builder displayDpiOverride(int);
method @NonNull public GeckoRuntimeSettings.Builder doubleTapZoomingEnabled(boolean);
method @Deprecated @DeprecationSchedule(version=98,id="runtime-settings-typo") @NonNull public GeckoRuntimeSettings.Builder enterpiseRootsEnabled(boolean);
method @NonNull public GeckoRuntimeSettings.Builder enterpriseRootsEnabled(boolean);
method @NonNull public GeckoRuntimeSettings.Builder extras(@NonNull Bundle);
method @NonNull public GeckoRuntimeSettings.Builder fontInflation(boolean);

View File

@ -205,23 +205,6 @@ public final class GeckoRuntimeSettings extends RuntimeSettings {
return this;
}
/**
* Enable the Enteprise Roots feature.
*
* <p>When Enabled, GeckoView will fetch the third-party root certificates added to the Android
* OS CA store and will use them internally.
*
* @param enabled whether to enable this feature or not
* @return The builder instance
* @deprecated use {@link #setEnterpriseRootsEnabled} instead.
*/
@Deprecated
@DeprecationSchedule(version = 98, id = "runtime-settings-typo")
public @NonNull Builder enterpiseRootsEnabled(final boolean enabled) {
getSettings().setEnterpriseRootsEnabled(enabled);
return this;
}
/**
* Enable the Enterprise Roots feature.
*

View File

@ -13,6 +13,10 @@ exclude: true
⚠️ breaking change and deprecation notices
## v99
- Removed deprecated `GeckoRuntimeSettings.Builder.enterpiseRootsEnabled`.
([bug 1754244]({{bugzilla}}1754244))
## v98
- Add [`WebRequest.beConservative`][98.1] to allow critical infrastructure to
avoid using bleeding-edge network features.
@ -1135,4 +1139,4 @@ to allow adding gecko profiler markers.
[65.24]: {{javadoc_uri}}/CrashReporter.html#sendCrashReport-android.content.Context-android.os.Bundle-java.lang.String-
[65.25]: {{javadoc_uri}}/GeckoResult.html
[api-version]: f6d4d5bfa6295b82c1f528532ae9b8ae37fe1824
[api-version]: 9a66c9bcb58ffd198b90bb4f1845efe26dbb244b