Format-neutral compare numbers in MMS group with local device.

Closes #1018
This commit is contained in:
Moxie Marlinspike
2014-03-07 13:05:35 -08:00
parent b855a1805f
commit 0b4fe84a41
2 changed files with 15 additions and 5 deletions

View File

@@ -61,9 +61,9 @@ public class MmsDownloader {
}
public void process(MasterSecret masterSecret, Intent intent) {
if (intent.getAction().equals(SendReceiveService.DOWNLOAD_MMS_ACTION)) {
if (SendReceiveService.DOWNLOAD_MMS_ACTION.equals(intent.getAction())) {
handleDownloadMms(masterSecret, intent);
} else if (intent.getAction().equals(SendReceiveService.DOWNLOAD_MMS_PENDING_APN_ACTION)) {
} else if (SendReceiveService.DOWNLOAD_MMS_PENDING_APN_ACTION.equals(intent.getAction())) {
handleMmsPendingApnDownloads(masterSecret);
}
}