owios7 / android-sms

Automatically exported from code.google.com/p/android-sms
0 stars 0 forks source link

force close due to hidden label #82

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In your Gmail label settings, turn off the "Show in IMAP" checkbox
2. Attempt a backup
3. <Force close>

Looking at the source code, the folder.create() can throw MessagingException, 
but that is not being 
handled. I presume this happens because the folder already exists (but simply 
isn't show to the 
IMAP client).

I would suggest some kind of graceful shutdown, leaving a "not sync'd because 
target folder cannot 
be created/accessed" message, if the target folder cannot be created.

Original issue reported on code.google.com by gstein on 7 May 2010 at 5:21