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

Commit 12b09424 authored by Vlad Marica's avatar Vlad Marica
Browse files

Allow SHELL_UID to print FRP status when secrets are excluded

Bugreports taken by the `adb bugreport` command seem to
be executed by SHELL_UID (2000). Before this change, this meant
that the PersistentDataBlockService's dump would not include
the FRP status because SHELL_UID was not allowed.

Additionally, the OEM Unlock state and the Flash Lock state are
excluded when the caller is SHELL_UID because it seems to lack
the required permissions and throws an exception.

Bug: 349170452
Flag: EXEMPT bugfix
Test: Manually tested by running `adb shell dumpsys
persistent_data_block`
while not root
Ignore-AOSP-First: Depends on internal changes that can't go into AOSP
yet.

Change-Id: Icda8348c730ec869196839439ce1620d56a9339e
parent fdd6b883
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