Skip to content

Commit aee5c9e

Browse files
hush-at-googleAndroid (Google) Code Review
authored andcommitted
Merge "Remove WebView DRP Setting from Developer Settings" into lmp-dev
2 parents 04e50c4 + eb487c6 commit aee5c9e

2 files changed

Lines changed: 0 additions & 24 deletions

File tree

core/java/android/provider/Settings.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,7 +3102,6 @@ public static final class Secure extends NameValueTable {
31023102
MOVED_TO_GLOBAL.add(Settings.Global.SET_GLOBAL_HTTP_PROXY);
31033103
MOVED_TO_GLOBAL.add(Settings.Global.DEFAULT_DNS_SERVER);
31043104
MOVED_TO_GLOBAL.add(Settings.Global.PREFERRED_NETWORK_MODE);
3105-
MOVED_TO_GLOBAL.add(Settings.Global.WEBVIEW_DATA_REDUCTION_PROXY_KEY);
31063105
}
31073106

31083107
/** @hide */
@@ -4584,13 +4583,6 @@ public static boolean putFloatForUser(ContentResolver cr, String name, float val
45844583
*/
45854584
public static final String ANR_SHOW_BACKGROUND = "anr_show_background";
45864585

4587-
/**
4588-
* (Experimental). If nonzero, WebView uses data reduction proxy to save network
4589-
* bandwidth. Otherwise, WebView does not use data reduction proxy.
4590-
* @hide
4591-
*/
4592-
public static final String WEBVIEW_DATA_REDUCTION_PROXY = "webview_data_reduction_proxy";
4593-
45944586
/**
45954587
* The {@link ComponentName} string of the service to be used as the voice recognition
45964588
* service.
@@ -5686,13 +5678,6 @@ public static final class Global extends NameValueTable {
56865678
*/
56875679
public static final String USE_GOOGLE_MAIL = "use_google_mail";
56885680

5689-
/**
5690-
* Webview Data reduction proxy key.
5691-
* @hide
5692-
*/
5693-
public static final String WEBVIEW_DATA_REDUCTION_PROXY_KEY =
5694-
"webview_data_reduction_proxy_key";
5695-
56965681
/**
56975682
* Whether Wifi display is enabled/disabled
56985683
* 0=disabled. 1=enabled.

core/java/android/webkit/WebView.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,6 @@ public class WebView extends AbsoluteLayout
251251
implements ViewTreeObserver.OnGlobalFocusChangeListener,
252252
ViewGroup.OnHierarchyChangeListener, ViewDebug.HierarchyHandler {
253253

254-
/**
255-
* Broadcast Action: Indicates the data reduction proxy setting changed.
256-
* Sent by the settings app when user changes the data reduction proxy value. This intent will
257-
* always stay as a hidden API.
258-
* @hide
259-
*/
260-
public static final String DATA_REDUCTION_PROXY_SETTING_CHANGED =
261-
"android.webkit.DATA_REDUCTION_PROXY_SETTING_CHANGED";
262-
263254
private static final String LOGTAG = "WebView";
264255

265256
// Throwing an exception for incorrect thread usage if the

0 commit comments

Comments
 (0)