commit | 43a8559236cd30905758e56bb63e207f92e819a1 | [log] [tgz] |
---|---|---|
author | Chip Fukuhara <cfukuhara@google.com> | Thu Feb 15 23:49:51 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 14 11:11:32 2024 +0000 |
tree | 113c037221fd4a90ca4da64234b80a9b47b1fd55 | |
parent | 91c6b2d76b6536a24fb27d1b299d1abeeb9379df [diff] |
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:55bf508cd6cef4ba969fabe3cc52c6d42b123241) Merged-In: I9efef3af940d7597105ef796774f8cc474194c19 Change-Id: I9efef3af940d7597105ef796774f8cc474194c19