commit | 8ca56f676834b1b791e5fe7c382aa3e58616bc56 | [log] [tgz] |
---|---|---|
author | Régis Décamps <regisd@google.com> | Fri Aug 15 17:31:30 2014 +0200 |
committer | Régis Décamps <regisd@google.com> | Wed Aug 20 12:23:12 2014 +0200 |
tree | 150528ec02d50c0d95346bf4a3ff05f759993dd9 | |
parent | 2e214867fd7f37d6d84aa94d363649df26652b49 [diff] |
minor change of getAccountTypeForAccount in AnalyticsUtils Rename the method from getAccountTypeForAccount into getEmailProviderForAddress because - it doesn't return a type in the sense of POP/IMAP/etc - the input isn't an accounts.Account Also, refactor to use `equals` on domain rather than `endsWith` on address. Also, canonicalize to lower case. Change-Id: I616ffb2df5300741bc147914648f80ec0fc3dccd