Refactor GrantPermissions, introduce GrantBehaviors
Refactor the GrantPermissionsViewModel. Move any group specific behavior to a list of GrantBehaviors, which determine if a request is considered granted, if it's considered fixed, and determines what type of prompt and deny behavior should show. These prompts are enumerated explicitly, and should be much more human understandable. Bug: 284183336 Test: atest CtsPermission3TestCases Change-Id: I29c4ee20ecec4d89b485ffeedeea52adfb573ae1
Loading
Please register or sign in to comment