summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAndrei Onea <andreionea@google.com>2019-05-01 14:14:35 +0100
committerAndrei Onea <andreionea@google.com>2019-05-01 19:04:00 +0100
commitb019c7eea3d97275ffb8f68dd8fb223225e1aebf (patch)
treec5943032b9052e12a60ba6fa18cffba0fbb27e61 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2a5889ce56ee70a362b8b3dd56e8dc70510eb498 (diff)
DO NOT MERGE Fix setting hidden api usage log sample rate
This fix addresses two related issues: one with the DeviceConfig.onPropertiesChangedListener, and another with HiddenApiUsageLogger.setHiddenApiAccessLogSampleRates. In both cases, setting one of the sample rates (hidden_api_access_log_sampling_rate or hidden_api_access_statslog_sampling_rate) unsets the other. This is due to them being sent sequentially instead of simultaneously. Additionally, out of an abundance of caution, mirror the behaviour in attemptConnectionToPrimaryZygote and attemptConnectionToSecondaryZygote for the statslog sample rate. This was overlooked in a previous change. Bug: 119217680 Test: m Test: cts-tradefed run cts-dev -m CtsStatsdHostTestCases -t \ android.cts.statsd.atom.UidAtomTests#testHiddenApiUsed Change-Id: I8a5534403269a2339fcabc8f847199ab837ae71b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions