commit | 3d29c0f336ecc574e3cfddbd8dffffa937226b1a | [log] [tgz] |
---|---|---|
author | Grace Jia <xiaotonj@google.com> | Wed Nov 03 13:41:08 2021 -0700 |
committer | Grace Jia <xiaotonj@google.com> | Fri Nov 12 15:18:20 2021 -0800 |
tree | 842d321b9b83b6f26da8b1dd651703bc9f91106e | |
parent | 37aae356b1e0c57f8d118fac3479118358c24d5c [diff] |
Fix wrong package availability check for multi-user. Currently we are checking if the ICS package is enabled during runtime before we try to bind to it. However, if we switched to second user, checking availability will always return false. Fix this by checking it with package manager of the current user. Test: make sure Telecom can bind to all non-UI ICS after switched to second user manually Bug: 197820445 Change-Id: I7944705fff1323c471a378c3dd7ee3cd8911dbc0