commit | 7251668b521d6c0782a688090d930a52bb0ab3d0 | [log] [tgz] |
---|---|---|
author | Nancy Chen <nancychen@google.com> | Mon Jun 08 11:47:03 2015 -0700 |
committer | Nancy Chen <nancychen@google.com> | Mon Jun 08 11:47:03 2015 -0700 |
tree | 482c12168672210390f33abf0367dd922491fa62 | |
parent | 759d1a3217cf6818114bc6132b36642933d3f7ad [diff] |
Check if mImapStore is null before attempting to open folder. If the the port number for the carrier config is null or not a number, mImapStore will not be initialized. This means that attempting to open the ImapFolder will result in a NPE. Make a check first. Bug: 21693619 Change-Id: Id1400ea41f916e26fed05db5e8343505f774e455