diff options
author | Felipe Leme <felipeal@google.com> | 2017-11-21 15:00:00 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2017-11-30 21:31:15 -0800 |
commit | bbf8549ad0bab9f73501956278b25c57a17eb5ab (patch) | |
tree | 1bbd7351d8b70d5a7062cee4c5506aca62bbc653 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 601d22007488145f8651930d23aeb7a7a95cc591 (diff) |
Changed Dataset.setValue() methods to allow filtering with authentication.
The Dataset.setValue() methods were created before Datasets supported
RemoteViews as presentation. As such, the service always had to provide a
value for the dataset fields, and the value could not be used for filtering
(otherwise the user could "guess" what that authenticaed values were).
But once Dataset required RemoteViews for presentation, the field values were
not used anymore when the dataset required authentication (in fact, the
setValue() methods accepted null for the value), so now we can always use the
field values for filtering.
Test: atest CtsAutoFillServiceTestCases
Fixes: 69458842
Change-Id: Ia58af8bb946f31c3806c28570b2445870d7ccf0c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions