diff options
author | Felipe Leme <felipeal@google.com> | 2018-03-21 12:56:05 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2018-03-21 14:13:17 -0700 |
commit | 25960891466a5291c4e71309a07cb9f53fea9c16 (patch) | |
tree | 0c9398bf08b085cef4a70ebfa206df3726c05bf1 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 655877cd84d274ff66bc29f5889dec554a439312 (diff) |
Don't allow null ids on FillResponse.Builder.setAuthentication()
It would crash the system when save is invoked.
The issue was reproduced by passing a null id on
AuthenticationTest#testFillResponseAuthServiceHasNoDataButCanSave , but that
change was not committed because with the fix the builder would throw an
exception.
Test: atest CtsAutoFillServiceTestCases:FillResponseTest
Fixes: 76097200
Change-Id: Ifa8105ee1451ba7107082a94a538a8f84f50df18
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions