commit | cd2466ee309bb4d2e88f52e688c0e0e9e5d49b58 | [log] [tgz] |
---|---|---|
author | Adam Bookatz <bookatz@google.com> | Mon May 02 12:21:29 2022 -0700 |
committer | Adam Bookatz <bookatz@google.com> | Mon May 02 20:18:54 2022 +0000 |
tree | ede3133b6f32b67c283f9724e2051a0147f6293c | |
parent | 4fdd1e07782a6fb4a0fa3bd8814b7a0bbedff110 [diff] |
Ensure getUserName cannot return null A user can be created with an explicitly null name, as happens in tests. But getUserName claims to never return null. So we must do a null-check here to prevent it. Bug: 227624966 Test: atest UserManagerTest Change-Id: Iea0e7b6292c6dd49df1bebc5467091a82ddaedb5