am 6953d595
: Null check service info
* commit '6953d5951fed975d2569ec46bd544ce21e6860dc': Null check service info
This commit is contained in:
commit
32786342d9
@ -2896,7 +2896,9 @@ public class EmailProvider extends ContentProvider {
|
||||
caps |= UIProvider.FolderCapabilities.IS_VIRTUAL;
|
||||
}
|
||||
|
||||
if (!info.offerMoveTo) {
|
||||
// If we don't know the protocol or the protocol doesn't support it, don't allow moving
|
||||
// messages
|
||||
if (info == null || !info.offerMoveTo) {
|
||||
caps &= ~UIProvider.FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES &
|
||||
~UIProvider.FolderCapabilities.ALLOWS_REMOVE_CONVERSATION &
|
||||
~UIProvider.FolderCapabilities.ALLOWS_MOVE_TO_INBOX;
|
||||
|
Loading…
Reference in New Issue
Block a user