commit | 19166cb1fc565fdd318eb73451116fea5e6fc3d3 | [log] [tgz] |
---|---|---|
author | Kevin Han <kevhan@google.com> | Wed Jan 05 19:21:15 2022 -0800 |
committer | Kevin Han <kevhan@google.com> | Fri Jan 21 13:31:06 2022 -0800 |
tree | 886add75685ad066df062f940efea69309406f2f | |
parent | b5956636ffd61b6f4e009c7b50372262acc55be5 [diff] |
Add API to get hibernation eligibility Add an API to get a package's eligibility for hibernation for a given user. A package is either eligible, exempt by the system, or exempt by the user. This information can be used to show more accurate UI for hibernation controls (e.g. disabling the user-controlled exemption toggle if the app is already exempt by the system) Bug: 200087723 Test: CTS test in topic Change-Id: Iea844477184fadb55ea14485dff172ed7be2b715