diff options
author | Felipe Leme <felipeal@google.com> | 2017-12-06 12:09:37 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2017-12-06 16:58:13 -0800 |
commit | 637e05ee0f5077f2cda8f0defaf29baeb251ad75 (patch) | |
tree | 3859db1b2445b2a388004187ab44dca601765554 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6798bc300e311c633c90ff67ccff09f7bb679c21 (diff) |
Further improvements when app forges package info for autofill:
- Dont create a session if the component is not owned by the calling UID.
- Log metrics for forged attempts.
- Avoid possible NPEs on AutofillManager when context or client is null.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.VirtualContainerActivityTest#testAppCannotFakePackageName
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Bug: 69981710
Change-Id: I9695bc046f3eb8aeecfe44f80fd0366f68b2c635
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions