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

Skip to content
Commit f6146093 authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan Committed by Jay Sullivan
Browse files

Improve logging of ignored setUidMode

If we ignore a setUidMode call that would have changed the op mode,
then:

- Log as an error
- Log the stack trace
- Use the phrase "Blocked setUidMode"

Otherwise:

- Log as a warning
- Don't log the stack trace
- Use the phrase "Ignored setUidMode"

The reason for this is that the former is much more concerning, so we
want to know where it's coming from and to be able to easily search
bugreports for this specific situation.

FLAG: android.permission.flags.runtime_permission_appops_mapping_enabled
Bug: 341219398
Test: presubmit
Change-Id: Ia27838c680ace39adf9221df953fecdf5a40ae1d
parent 5b0af123
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment