aboutsummaryrefslogtreecommitdiff
path: root/en/devices/tech/connect/data-saver.html
diff options
context:
space:
mode:
Diffstat (limited to 'en/devices/tech/connect/data-saver.html')
-rw-r--r--en/devices/tech/connect/data-saver.html24
1 files changed, 13 insertions, 11 deletions
diff --git a/en/devices/tech/connect/data-saver.html b/en/devices/tech/connect/data-saver.html
index 0d5721be..e9624295 100644
--- a/en/devices/tech/connect/data-saver.html
+++ b/en/devices/tech/connect/data-saver.html
@@ -62,22 +62,22 @@ Source Project (AOSP). See the screenshots below for examples.
These screenshots show the Data Saver mode in use.
</p>
-<img src="images/data-saver-use.png" width="397" alt="Toggling Data Saver off/on" />
+<img src="/devices/tech/connect/images/data-saver-use.png" width="397" alt="Toggling Data Saver off/on" />
<p class="img-caption">
<strong>Figure 1.</strong> Toggling Data Saver off/on
</p>
-<img src="images/data-battery-saver.png" width="641" alt="Battery saver and Data Saver are on" />
+<img src="/devices/tech/connect/images/data-battery-saver.png" width="641" alt="Battery saver and Data Saver are on" />
<p class="img-caption">
<strong>Figure 2.</strong> When both battery saver and Data Saver are on
</p>
-<img src="images/data-saver-app.png" width="376" alt="App-specific data usage screen" />
+<img src="/devices/tech/connect/images/data-saver-app.png" width="376" alt="App-specific data usage screen" />
<p class="img-caption">
<strong>Figure 3.</strong> App-specific data usage screen: Settings > Apps > Data usage
</p>
-<img src="images/data-saver-quick-settings.png" width="446" alt="Data saver in the Quick Settings" />
+<img src="/devices/tech/connect/images/data-saver-quick-settings.png" width="446" alt="Data saver in the Quick Settings" />
<p class="img-caption">
<strong>Figure 4.</strong> Data saver states on the Quick Settings menu
</p>
@@ -130,20 +130,22 @@ Implementers can ensure their version of the feature works as intended by
running the following CTS test:
</p>
-<pre>
+<pre class="devsite-click-to-copy">
com.android.cts.net.HostsideRestrictBackgroundNetworkTests
</pre>
<p>
In addition, <code>adb</code> commands can be used to conduct tests manually by
-first running this command to see all available options:<br>
-<code>$ adb shell cmd netpolicy</code>
-</p>
+first running this command to see all available options:</p>
+<pre class="devsite-terminal devsite-click-to-copy">
+adb shell cmd netpolicy
+</pre>
<p>
-For example, this command returns the UIDs of the whitelisted apps:<br>
-<code>$ adb shell cmd netpolicy list restrict-background-whitelist</code>
-</p>
+For example, this command returns the UIDs of the whitelisted apps:</p>
+<pre class="devsite-terminal devsite-click-to-copy">
+adb shell cmd netpolicy list restrict-background-whitelist
+</pre>
</body>
</html>