mirror of https://github.com/grpc/grpc-java.git
cronet: @javadoc update android permission MODIFY_NETWORK_ACCOUNTING (deprecated) => UPDATE_DEVICE_STATS
This commit is contained in:
parent
5a8da19f32
commit
c703a1ee07
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue