diff options
author | Stanislav Zholnin <zholnin@google.com> | 2020-06-19 13:20:48 +0100 |
---|---|---|
committer | Stanislav Zholnin <zholnin@google.com> | 2020-06-19 19:43:03 +0100 |
commit | 54762b293e7d0728d73daae0ddc2cfc0fec74442 (patch) | |
tree | 0e611e73c119d970e8c6d19c1ea5640d5a60a796 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2a02c8e38190aeaa772ee9ab849a78c4137ca141 (diff) |
Prevent developer provided strings from being uploaded through statsd.
- in situation when developer provides message when op is noted, do not
report it through stack trace collection infrastructure
- collect only statcktraces for OP_FLAG_SELF and OP_FLAG_TRUSTED_PROXIED to
match collection of appops counts
Test: atest android.app.appops.cts.RuntimeMessageCollectionTest
Fixes: 159433071
Change-Id: I1ab56a530832873a1f1f68aba5ab6eabc9e8a17a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions