Adapt NET_CAPABILITY_TEMPORARILY_NOT_METERED in NetworkIdentity
NET_CAPABILITY_TEMPORARILY_NOT_METERED is a capability indicates networks are generally metered, but are currently unmetered. NetworkIdentity currently did not consider it which will cause Settings shows high data usage. To exclude unmetered 5g from the metered usage, NetworkIdentity should consider a network with NET_CAPABILITY_TEMPORARILY_NOT_METERED capabilities as not metered. Bug: 183776809 Test: FrameworksNetTests:NetworkIdentityTest Change-Id: Iadbc082b52f16708207e8aecf0904356bc0898ab
Loading
Please register or sign in to comment