commit | 25960891466a5291c4e71309a07cb9f53fea9c16 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Wed Mar 21 12:56:05 2018 -0700 |
committer | Felipe Leme <felipeal@google.com> | Wed Mar 21 14:13:17 2018 -0700 |
tree | 0c9398bf08b085cef4a70ebfa206df3726c05bf1 | |
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