Mms: Fix force closed when viewing wap push message.

It wrongly saved subId to database's phone_id field when stored wap
push message, and then used store value to obtain subId list and got a
null array, it caused force closed.

Obtain phoneId not subId from intent and save to database when
storing wap push message and add null pointer and empty array check
after obtaining subId list.

Change-Id: I3b09a401e63e5a029373acc8116a10eab928f1df
CRs-Fixed: 865994
2 files changed