commit | d82a743002cacd9eb073b09929dab4930213e97d | [log] [tgz] |
---|---|---|
author | Mathew Inwood <mathewi@google.com> | Thu Apr 19 14:42:58 2018 +0100 |
committer | Mathew Inwood <mathewi@google.com> | Thu Apr 19 16:18:51 2018 +0100 |
tree | 902ba0071e11e52c67d60d3c137d8aa434df3881 | |
parent | 8182e354d84a0cdf92458b268f96c28d2dce3cb6 [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