commit | 51b76855f9604fe7b8cd26c08bcde1eaedadefaa | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Mon Aug 26 14:23:44 2019 -0700 |
committer | Hai Zhang <zhanghai@google.com> | Mon Aug 26 14:23:44 2019 -0700 |
tree | 3b3d900222f3f24d0151642c76316c71d61c771b | |
parent | 8d59885bc2258f90c64955636e64a1ebcb6c6334 [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: I2995b6fa5c7920d14fa644748db9c41b442ce53b