summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2018-04-19 14:42:58 +0100
committerMathew Inwood <mathewi@google.com>2018-04-19 16:18:51 +0100
commitd82a743002cacd9eb073b09929dab4930213e97d (patch)
tree902ba0071e11e52c67d60d3c137d8aa434df3881 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8182e354d84a0cdf92458b268f96c28d2dce3cb6 (diff)
StrictMode: fix non-SDK API usage detection.
The warning dedupe logic in the runtime meant that only the first usage of each API was detected. Disable this logic when DETECT_VM_NON_SDK_API_USAGE is enabled. Test: m Test: $ atest android.os.cts.StrictModeTest#testNonSdkApiUsage Bug: 78268765 Change-Id: Iba1127b84180b9a5e5eb68abc4691ccad082b80e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions