Skip to content
Commit fe9905f8 authored by Nate Myren's avatar Nate Myren
Browse files

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
parent 7fd01d96
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