mms: do not close database

JIRA: BUGDUMP-22916
https://jira.cyanogenmod.org/browse/BUGDUMP-22916
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: I1ce4d8e3d8b1bb482e5556e20e9bb76dbf522abf
mms: prevent FC if there isn't and associated activity

If the activity associated to span (email or browser) is not present or is disabled, then
that leads to an ActivityNotFoundException. Just graful display a message instead of crash.

JIRA: BUGDUMP-23165
https://jira.cyanogenmod.org/browse/BUGDUMP-23165
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: Iaab2c2aac199f641a6df12e20bda7fecce8c2d39
Merge "mms: prevent FC if there isn't and associated activity" into cm-11.0
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0