Skip to content
Commit 3850aae0 authored by Kevin Han's avatar Kevin Han
Browse files

Disable hibernation toggle in Permissions if not eligible

In order to not give users a useless toggle, we disable the toggle
if the app is not eligible.

We also combine the logic for getting hibernation eligibility into one
place to ensure we aren't duplicating the same logic.

Bug: 221971321
Test: check toggle for eligible app, exempt app, and exempt by user
Change-Id: Ib64d51473fba9a637ebf09629741608408c41679
parent 56ee0c61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment