summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Chip Fukuhara <cfukuhara@google.com> 2024-02-15 23:49:51 +0000
committer Chip Fukuhara <cfukuhara@google.com> 2024-03-11 19:59:48 +0000
commitcf909694ad9394c68720727bdbf0d2ff0eaa649a (patch)
tree5b9321e007650ff57d68f9b3b15ce3790fec5450 /libs/androidfw/misc.cpp
parent6d31e865198fe2d5cb40accf75bf502bdbf0630b (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 Change-Id: I9efef3af940d7597105ef796774f8cc474194c19
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions