commit | 32c5cfb232855575d6ae8995c873b5bba7cee1d4 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Wed Feb 12 16:00:29 2020 -0800 |
committer | Kweku Adams <kwekua@google.com> | Wed Feb 12 16:00:29 2020 -0800 |
tree | 7aff90f7c6b5c2109cee13e47807f1f7222c8bc8 | |
parent | 223c27ef69c3c41b60971142fc2b9479f8167bcc [diff] |
Improve API signature. There's nothing actionable for someone calling addToWhitelist() if the addition fails (since it means the package wasn't found), so there's no reason to have a return value. Removing the return value and clarifying that calling the API will add the app to the permanent power save whitelist. Bug: 149216029 Test: atest PowerWhitelistTest Change-Id: I54da34703c9f8862fa641f6b0313e6dfa37948e7