commit | 43c0d7def37b7fa5ef3680f4076412c965bd4863 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Tue Jan 30 13:48:43 2018 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Fri Feb 02 16:48:49 2018 +0100 |
tree | 882495359191fc00cfc511ea4d8bc13828233b35 | |
parent | 5e6d0fb102a2d5486c94a0ea7463efd1508f5ade [diff] |
Use AccountCache#maybeGet instead of AccountCache#get AccountCache#get returns an empty AccountState to represent a missing account and the full name and the preferred email of the empty AccountState are always null. Handle the missing account case explicitly instead of using an empty AccountState. Change-Id: I340d1b426304550ae9b368623e15291f8f1dbb92 Signed-off-by: Edwin Kempin <ekempin@google.com>