summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Zach Lee <leezach@google.com> 2023-10-16 23:14:42 +0000
committer Zach Lee <leezach@google.com> 2023-10-16 23:17:50 +0000
commit8eb624a47ac8608b45ad00d5cffd53d3dc40d562 (patch)
tree17c1ccd62679c74300ab754e5b6613229e8fc46b /api/api.go
parent63792cefc783b61c0a8901236517829f5200b9b7 (diff)
Lazily get UserManager to avoid NPE
maybeHideLockedProfileActivityLocked() can sometimes be called before getUserManager() is called anywhere else. Calling the lazy getter here will prevent that null pointer error. Change-Id: Ib8ca36bd6c43c03f69c53e0e195c2a68a36377a3 Bug: b/303507052
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions