commit | 2d323220882daff57ff3ac004d613f38825417db | [log] [tgz] |
---|---|---|
author | Jonathan Scott <scottjonathan@google.com> | Mon Feb 15 11:09:48 2021 +0000 |
committer | Jonathan Scott <scottjonathan@google.com> | Wed Feb 17 13:39:35 2021 +0000 |
tree | ab6e9d9bedac987551e30aa8ba71aa16eb34fd33 | |
parent | a18b0c73c187d2332aa628864fd31ba126301972 [diff] |
Add .packages() to Nene. The API is similar to .users() - Every method relating to packages must specify the user it applies to. I also experimented with an alternative api which looks like `testApis.forUser(user).packages()....` but it becomes a lot more complex, as we need to maintain a set of APIs which apply to all users and one which applies to individual users. Bug: 180293870 Test: atest NeneTest Change-Id: I61515f8bd0299fdd2459f97f5018b77cd97fb651