Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 86c4aff4 authored by Chenbo Feng's avatar Chenbo Feng
Browse files

Always allow root uid to update device stats

root uid should always have android.permission.UPDATE_DEVICE_STATS, so
we skip the permission check if the calling uid is 0. The request from
root uid will not get blocked even if the framework doesn't pass down
the correct permission.

Bug: 111560570
Test: netd_integration_test
Change-Id: Idb535f02faadc3e0cb3c14b18e82742aa8976fac
parent 4fe1b9c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment