commit | 1bb7455f339741372525a09dad76017a3275bea2 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Wed May 15 16:09:22 2019 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu May 16 12:06:08 2019 -0700 |
tree | f5aaf5e64d8f53eaf23859463335ca52bca6f10f | |
parent | 28706f020b3bb4e93703e3405c03dc459fe1a04b [diff] |
Ensure that we use the current user context when adding nav mode listeners - Cache the current user context so we don't recreate it each time - Also ensure that we always update the enabled state regardless of which user SysUI was started in (ie. restarting sysui while running as a non-primary user) Bug: 132644959 Test: Kill sysui for secondary user, ensure it does not pick up primary user's nav mode Change-Id: Iedbf56c18bf0901bf96ccccfe4d7b8c46161280b