diff options
author | Winson Chung <winsonc@google.com> | 2019-05-15 16:09:22 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2019-05-16 12:06:08 -0700 |
commit | 1bb7455f339741372525a09dad76017a3275bea2 (patch) | |
tree | f5aaf5e64d8f53eaf23859463335ca52bca6f10f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions