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

Skip to content
Commit 2fdeb5b7 authored by Chip Fukuhara's avatar Chip Fukuhara Committed by Android Build Coastguard Worker
Browse files

Avoid appcompat logs if old or disabled

For performance savings, we will only log appcompat changes to debug if
it targets the latest sdk version and it is not disabled. These can
still be turned back on with `adb setprop
log.tag.CompatChangeReporter=DEBUG`.

Test: atest PlatformCompatFrameworkTests; atest FrameworksServicesTests:ActivityManagerServiceTest; atest FrameworksServicesTests:ProcessRecordTests; atest FrameworksServicesTests:CompatConfigTest; atest FrameworksServicesTests:PlatformCompatTest
Bug: 323949942
Flag: skip_old_and_disabled_compat_logging
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cf909694ad9394c68720727bdbf0d2ff0eaa649a)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:076998dae9f80d0d8a1db33eda95eae887936958)
Merged-In: I9efef3af940d7597105ef796774f8cc474194c19
Change-Id: I9efef3af940d7597105ef796774f8cc474194c19
parent e3c502c5
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