Display notification after upgrade migration w/ password.

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-07-21 16:03:56 -07:00
parent 3e15a5e2db
commit d2a728fc08

View File

@ -92,11 +92,7 @@ public class PushDecryptJob extends ContextJob {
public void onRun() throws NoSuchMessageException { public void onRun() throws NoSuchMessageException {
if (!IdentityKeyUtil.hasIdentityKey(context)) { if (!IdentityKeyUtil.hasIdentityKey(context)) {
Log.w(TAG, "Skipping job, waiting for migration..."); Log.w(TAG, "Skipping job, waiting for migration...");
MessageNotifier.updateNotification(context, null, true, -2);
if (KeyCachingService.getMasterSecret(context) != null) {
MessageNotifier.updateNotification(context, null, true, -2);
}
return; return;
} }