commit | aedc3ab3cf62dc05379ef855ffc42bec646fb5ec | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Mon Aug 26 14:18:55 2019 -0700 |
committer | Hai Zhang <zhanghai@google.com> | Mon Aug 26 15:05:06 2019 -0700 |
tree | 201e925c67a2bfdad7f3daaa23e8939523b606d5 | |
parent | ce81d325256c391ebcaf96a95c5ddaddc49a36f7 [diff] |
Add RoleControllerManager.isApplicationVisibleForRole(). Settings doesn't actually need to know whether an application qualifies for a role, but only whether the default app setting should be visible for an application. Qualification and visibility differs in cases such as FallbackHome inside Settings which is a qualifying home activity but should never be shown in default apps UI. Fixes: 138636320 Test: manual Change-Id: I216195c64a7b106e2769b11c1a998741a77fdce2