From d6f2fa92a68cee6e93d28d0b27225927eafaef8e Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Mon, 23 Jan 2017 19:49:32 -0500 Subject: [PATCH] remove negative notification There isn't much the user can do in response to it, and the user will get a subsequent "new message" notification when the fallback push triggers. // FREEBIE --- Signal/src/AppDelegate.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/Signal/src/AppDelegate.m b/Signal/src/AppDelegate.m index e15e7144d..52bacf61f 100644 --- a/Signal/src/AppDelegate.m +++ b/Signal/src/AppDelegate.m @@ -387,9 +387,6 @@ static NSString *const kURLHostVerifyPrefix = @"verify"; } if (![TSStorageManager isDatabasePasswordAccessible]) { - UILocalNotification *notification = [[UILocalNotification alloc] init]; - notification.alertBody = NSLocalizedString(@"PHONE_NEEDS_UNLOCK", nil); - [[UIApplication sharedApplication] presentLocalNotificationNow:notification]; DDLogInfo(@"%@ exiting because we are in the background and the database password is not accessible.", self.tag); exit(0); }