No special missed call notifications.

Fixes #4174
// FREEBIE
This commit is contained in:
Moxie Marlinspike
2015-10-01 17:33:10 -07:00
parent 214629e2db
commit c0a26862f3
2 changed files with 4 additions and 26 deletions

View File

@@ -48,8 +48,10 @@ import org.thoughtcrime.redphone.ui.NotificationBarManager;
import org.thoughtcrime.redphone.util.Base64;
import org.thoughtcrime.redphone.util.UncaughtExceptionHandlerManager;
import org.thoughtcrime.securesms.database.DatabaseFactory;
import org.thoughtcrime.securesms.notifications.MessageNotifier;
import org.thoughtcrime.securesms.recipients.Recipient;
import org.thoughtcrime.securesms.recipients.RecipientFactory;
import org.thoughtcrime.securesms.service.KeyCachingService;
import org.thoughtcrime.securesms.util.TextSecurePreferences;
import java.io.IOException;
@@ -228,7 +230,7 @@ public class RedPhoneService extends Service implements CallStateListener, CallS
private void handleMissedCall(String remoteNumber) {
DatabaseFactory.getSmsDatabase(this).insertMissedCall(remoteNumber);
NotificationBarManager.notifyMissedCall(this, remoteNumber);
MessageNotifier.updateNotification(this, KeyCachingService.getMasterSecret(this));
}
private void handleAnswerCall(Intent intent) {