commit | d9dcfb12b91868fd36d61a6d6299c7d78f6272bf | [log] [tgz] |
---|---|---|
author | Will Harmon <xlythe@google.com> | Thu May 18 15:41:15 2017 -0700 |
committer | William Harmon <xlythe@google.com> | Thu May 25 17:36:50 2017 +0000 |
tree | f272a445820bb969e43f2896faf26772f30ea9f3 | |
parent | ca460c221014c4b65c5204d5eb4213f10a3b6d5d [diff] |
Fix NPE in UserManager.getUserName(). Unlike all other calls to getUserInfo(), getUserName() was the only one that did not check for null. This has led to NPEs like in b/37589362. Test: none. :( Not sure how to force the race where getUserInfo() returns null. Verified manually that getUserName() still works. Change-Id: I98ef06fe99ba760ae0194ec256fc9d1f39d3b7e5