OSDN Git Service

Add @param tag for state in queryDetailsForUidTagState.
authorLorenzo Colitti <lorenzo@google.com>
Fri, 6 Apr 2018 13:56:52 +0000 (22:56 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Fri, 6 Apr 2018 14:17:23 +0000 (23:17 +0900)
Change-Id: I22de424ccb2b30b2a56edd17dc982565b8aa7d4a
Fix: 77518425
Test: make doc-comment-check-docs

core/java/android/app/usage/NetworkStatsManager.java

index b2fe958..85f4efc 100644 (file)
@@ -305,6 +305,8 @@ public class NetworkStatsManager {
      *            {@link java.lang.System#currentTimeMillis}.
      * @param uid UID of app
      * @param tag TAG of interest. Use {@link NetworkStats.Bucket#TAG_NONE} for no tags.
+     * @param state state of interest. Use {@link NetworkStats.Bucket#STATE_ALL} to aggregate
+     *            traffic from all states.
      * @return Statistics object or null if an error happened during statistics collection.
      * @throws SecurityException if permissions are insufficient to read network statistics.
      */