diff options
author | Felipe Leme <felipeal@google.com> | 2017-06-19 09:45:48 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2017-06-19 11:43:33 -0700 |
commit | 266752317b7752394e39618f6fe1ad2829e919d8 (patch) | |
tree | d34c1936627bdfd1a36b55852d1678ad0bdd7c6d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1e1c5d7b7745f8bccfea3f7c9865169488f8fd05 (diff) |
Fixed updateAutofillValue() when mText is not set.
updateAutofillValue() was crashing some apps when the mText was not set at the
time it was called. One solution would be to not set mText at all - since the
Autofill Service should rely only on getAutofillValue() - but that could break
existing services.
Hence, a safer solution is to set that field if it's null.
Test: existing CtsAutoFillServiceTestCases tests pass
Test: manual verification using Fly Delta app
Fixes: 62751039
Change-Id: I91a8e0ed5db4148f5eb5729b8e254aa3531f15e4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions