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

Commit a0a1f8a8 authored by Bookatz's avatar Bookatz
Browse files

Statsd atoms: Add comment about Wifi

Add comment explaining caveats about the Wifi atoms.

Bug: 115639456
Test: It is just a comment.
Change-Id: I0882ccbe21c59439c4a6a61fb665bc0bf4695006
parent 67fb3ca9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -874,6 +874,7 @@ message KernelWakeupReported {

/**
 * Logs when Wifi is toggled on/off.
 * Note that Wifi may still perform certain functions (e.g. location scanning) even when disabled.
 *
 * Logged from:
 *   frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java
@@ -888,7 +889,8 @@ message WifiEnabledStateChanged {

/**
 * Logs when an app causes Wifi to run. In this context, 'to run' means to use Wifi Client Mode.
 * TODO: Include support for Hotspot.
 * TODO: Include support for Hotspot, perhaps by using an extra field to denote 'mode'.
 * Note that Wifi Scanning is monitored separately in WifiScanStateChanged.
 *
 * Logged from:
 *   frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java