commit | f0b7d0ba51611d1b644136b1f54b4f173604b41a | [log] [tgz] |
---|---|---|
author | Artur Satayev <satayev@google.com> | Mon Nov 04 11:16:45 2019 +0000 |
committer | Artur Satayev <satayev@google.com> | Wed Nov 13 12:58:29 2019 +0000 |
tree | eb4777313d7884e3320c5de20f6fff2e37f4bd96 | |
parent | fe0e4a24781b558e6f437040860a92da2e9ea880 [diff] [blame] |
Add @UnsupportedAppUsage to test apis that are known to be used by apps. go/testapi-enforcement Bug: 133832325 Test: m Change-Id: Ifc8db120640a1554dcbf1722e61e09c7ddc65dd6 Merged-In: Ifc8db120640a1554dcbf1722e61e09c7ddc65dd6
diff --git a/core/java/android/app/usage/NetworkStatsManager.java b/core/java/android/app/usage/NetworkStatsManager.java index 8e40449..6bade90 100644 --- a/core/java/android/app/usage/NetworkStatsManager.java +++ b/core/java/android/app/usage/NetworkStatsManager.java
@@ -146,6 +146,7 @@ } /** @hide */ + @UnsupportedAppUsage @TestApi public void setPollForce(boolean pollForce) { if (pollForce) {