cronet: @javadoc update android permission MODIFY_NETWORK_ACCOUNTING (deprecated) => UPDATE_DEVICE_STATS

This commit is contained in:
Ashok Varma 2024-04-07 07:10:32 -07:00 committed by Terry Wilson
parent 5a8da19f32
commit c703a1ee07
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ public final class CronetChannelBuilder extends ForwardingChannelBuilder2<Cronet
* Sets specific UID to use when accounting socket traffic caused by this channel. See {@link
* android.net.TrafficStats} for more information. Designed for use when performing an operation
* on behalf of another application. Caller must hold {@link
* android.Manifest.permission#MODIFY_NETWORK_ACCOUNTING} permission. By default traffic is
* android.Manifest.permission#UPDATE_DEVICE_STATS} permission. By default traffic is
* attributed to UID of caller.
*
* <p><b>NOTE:</b>Setting a UID disallows sharing of sockets with channels with other UIDs, which

View File

@ -47,7 +47,7 @@ public final class InternalCronetChannelBuilder {
* Sets specific UID to use when accounting socket traffic caused by this channel. See {@link
* android.net.TrafficStats} for more information. Designed for use when performing an operation
* on behalf of another application. Caller must hold {@link
* android.Manifest.permission#MODIFY_NETWORK_ACCOUNTING} permission. By default traffic is
* android.Manifest.permission#UPDATE_DEVICE_STATS} permission. By default traffic is
* attributed to UID of caller.
*
* <p><b>NOTE:</b>Setting a UID disallows sharing of sockets with channels with other UIDs, which