Clear collection after we used

Change-Id: Idbec734a2227cb333ed1cc47d64647a9da460e76
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Merge "Clear collection after we used"
Correct attachment type for Mms only has subject

Mark the attachment type of Mms only has subject as TEXT
avoid to show Mms View as untimely

Change-Id: I346ae4af4983e9e8dbe9533eeddef445affc339a
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Merge "Correct attachment type for Mms only has subject"
Check if mmp is null before used

Change-Id: I6ac92c1a829811fd19642a9ee77d6cd9e4d64008
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Merge "Check if mmp is null before used"
Check if mmp's encoded subject is null before used

Change-Id: I1de3c83b2b68128f725f8bbaf3d6764b2bdf836b
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Merge "Check if mmp's encoded subject is null before used"
Check if mText is null before invoke toString()

Change-Id: I8b519fa42e928eb157248e6b896a8958f281f9cd
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Merge "Check if mText is null before invoke toString()"
Remove DEBUG to avoid to run checking at every turn

Needn't to run storage checking in DEBUG mode at every turn,
it will make "DELETE OLD MSGS" always be checked in Mms Settings

Change-Id: I4412f6771695c84371cee543ec2276285f3fca07
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Merge "Remove DEBUG to avoid to run checking at every turn"
MMS app: fix crash when MMSC setting is NULL

An APN with a null MMSC column prevented the MMS app
to find the next APN in query.
Merge "MMS app: fix crash when MMSC setting is NULL"
Merge branch 'master' into HEAD

Conflicts:
	src/com/android/mms/transaction/MessagingNotification.java
	src/com/android/mms/transaction/TransactionSettings.java
	src/com/android/mms/ui/MessageUtils.java

Change-Id: I34cbad17677aab6dfbff49edc6d71aac6bb64847