commit | 3969c26127e314f986a0f39932e871fb44a1d518 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Tue Mar 19 14:53:57 2019 -0700 |
committer | Chenbo Feng <fengc@google.com> | Wed Mar 20 15:33:59 2019 -0700 |
tree | 7d40a9673adc4b6338399cf722c059618d35e73f | |
parent | 9c2dca83373ca74afc7d5cbf12971cd28d278f0b [diff] |
Fix the UPDATE_DEVICE_STATS permission for multiuser When an additional user is using the device, netd should filter out the userId prefix when checking the UPDATE_DEVICE_STATS permission. Bug: 111560570 Test: run NetStatsHostTest#testASetThreadStatsUid on a non-default user profile. Change-Id: I4353a383bd898340489e7dd70374a63b2ca0938b