bug #2553905: handle upgrading the "seen" column in sms/mms db better.

- when upgrading the sms and pdu tables from Donut, we add a new column called "seen". That's used to compute the statusbar notifications. "seen=0" means we need to throw up a notification. The bug is that we were adding the "seen" column with value=0,  which makes the MMS app notify for all messages that are in the SMS/MMS database after the upgrade. Obviously that's no good. So, add some logic in the upgrade code to set the 'seen' value the same as the 'read' value for each message in the table. That will made the app notify only the unread messages.

Change-Id: I1bb5a10c84d165c5fb463628b35c4c49ed36f1d3
1 file changed