Add setPollForce to module API
The API was test API in S, but this is not supported in module API surfaces. Make it module API instead. Ignore-AOSP-First: Avoiding merge conflicts. Cherry-pick will follow Bug: 197717846 Test: Tests already using this API (cherry-picked from ag/16780903) Change-Id: I53959f0ad4c7a41950e9349d539be82b9166b707 Merged-In: I53959f0ad4c7a41950e9349d539be82b9166b707
This commit is contained in:
parent
6187e7c79a
commit
73a61e7c28
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ package android.app.usage {
|
|||
method @NonNull @WorkerThread public android.app.usage.NetworkStats queryTaggedSummary(@NonNull android.net.NetworkTemplate, long, long) throws java.lang.SecurityException;
|
||||
method public void registerUsageCallback(@NonNull android.net.NetworkTemplate, long, @NonNull java.util.concurrent.Executor, @NonNull android.app.usage.NetworkStatsManager.UsageCallback);
|
||||
method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void setDefaultGlobalAlert(long);
|
||||
method public void setPollForce(boolean);
|
||||
method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void setPollOnOpen(boolean);
|
||||
method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void setStatsProviderWarningAndLimitAsync(@NonNull String, long, long);
|
||||
method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void setUidForeground(int, boolean);
|
||||
|
|
|
|||
Loading…
Reference in a new issue