| commit | 248a496616a40d1ad1357a4b7adfabb52a7588b8 | [log] [tgz] |
|---|---|---|
| author | Ruslan Tkhakokhov <rthakohov@google.com> | Thu Dec 06 14:14:35 2018 +0000 |
| committer | Ruslan Tkhakokhov <rthakohov@google.com> | Thu Dec 13 14:36:07 2018 +0000 |
| tree | c2f12ab5ee2fea459945cf29f2a44c24fe170ef8 | |
| parent | 8ef973bcbf89b23838054735e5e3179eb42e1609 [diff] |
Handle null body for MMS in TelephonyBackupAgent
Treat MMS with body set to null as messages with empty body to avoid
crashing with NPE.
Bug: 120261211
Test: 1) atest TelephonyBackupAgentTest
2) atest SmsBackupRestoreTest
3) Remove the null check and verify that TelephonyBackupAgentTest
fails.
Change-Id: Ie575f1b20fd1728ad49fbf133f8f4cc7d1a90796