diff options
author | Michael Groover <mpgroover@google.com> | 2021-01-27 16:59:22 -0800 |
---|---|---|
committer | Michael Groover <mpgroover@google.com> | 2021-01-27 16:59:22 -0800 |
commit | a7d65cc983604d369ef0f74d1eea7d81901803fe (patch) | |
tree | babd1930973809131d2dc1dfc71a2796fc2257d9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c64d83723fb91b05d90cb3c261cd36a6018cdf7f (diff) |
Provide API to access Intent that triggered StrictMode violation
Android 12 introduces a StrictMode check to warn developers if they
are launching an unsafe Intent (one that has been unparceled from the
delivered Intent). This commit provides an API to allow a developer
to access the Intent that triggered the StrictMode violation.
Bug: 178029824
Test: atest StrictModeTest
Test: Manually verified serialized violation does not result in
an Exception
Change-Id: I392df3f80487503bc8235700ecb17c51d930830c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions