RFR: 8343398: Add reducedData preference [v8]

Michael Strauß mstrauss at openjdk.org
Thu Dec 19 04:19:27 UTC 2024


> The `reducedData` preference instructs applications to minimize internet traffic, as users might be on a metered network or a limited data plan.
> 
> This corresponds to the following OS settings:
> 
> Windows: Settings -> Network and Internet -> Ethernet/WiFi -> Metered connection
> macOS: Settings -> Network -> Ethernet/WiFi -> Network Settings -> Low data mode
> Ubuntu: Settings -> Network -> Wired/WiFi -> Metered connection
> 
> Change notifications work consistently on Windows and macOS. On my Ubuntu 24 system, the GIO `network-changed` signal is not sent when I only toggle the "metered connection" flag in network settings (and there's no signal specifically for low-data mode). The new value is only picked up when the connection changes by coming offline or going online.

Michael Strauß has updated the pull request incrementally with two additional commits since the last revision:

 - method name
 - smaller diff

-------------

Changes:
  - all: https://git.openjdk.org/jfx/pull/1656/files
  - new: https://git.openjdk.org/jfx/pull/1656/files/fd4846a9..7feba0bf

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1656&range=07
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1656&range=06-07

  Stats: 25 lines in 1 file changed: 12 ins; 12 del; 1 mod
  Patch: https://git.openjdk.org/jfx/pull/1656.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1656/head:pull/1656

PR: https://git.openjdk.org/jfx/pull/1656


More information about the openjfx-dev mailing list