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

Skip to content
Commit 257a8afc authored by Felipe Leme's avatar Felipe Leme
Browse files

Logging improvements on DevicePolicyManagerService classes:

- Overloaded most Slog methods to support string formatting.
- Uses Locale.ENGLISH on such string formatting calls.
- Fixed logging statements that were using DEBUG inside a method
  (as it wouldn't prevent the calling code to be compiled out when
  it's value is 'false').
- Changed  some secondary classes (i.e., not on DPMS itself) to
  use Slog instead of Log.
- Added some extra info like file name and user id.
- Removed unused variables.

Test: m services
Test: atest FactoryResetterTest FrameworksServicesTests:DevicePolicyManagerTest

Bug: 156263735

Change-Id: Ie15e0c3bd75c845de79f6e724b65578272e45410
parent ff340887
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