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

Skip to content
Commit 02dc1fb0 authored by Michael Groover's avatar Michael Groover
Browse files

Enforce adb shell DeviceConfig flags restrictions

Android 16 limits the DeviceConfig flags that can be written by
the shell user to those that have been allowlisted. Since a
large portion of tests adopt the shell user's permission identity
to modify DeviceConfig flags, this change would impact these tests,
and the flags modified during tests would need to be allowlisted.
The feature initially rolled out in logging mode to capture all
flags that need to be allowlisted; now that the allowlist has
been updated, this commit switches the feature to enforcing mode
to prevent the adb shell user from writing flags that have not
been allowlisted.

Bug: 364083026
Flag: android.security.protect_device_config_flags
Test: atest DeviceConfigApiTest
Change-Id: I376fa6a57685bf27d76b9ac48ab60bf440b384c1
parent 767ff220
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