kopia lustrzana https://github.com/ryukoposting/Signal-Android
				
				
				
			
							rodzic
							
								
									beb3558d01
								
							
						
					
					
						commit
						fda900e95d
					
				| 
						 | 
				
			
			@ -34,6 +34,8 @@ import org.thoughtcrime.securesms.sms.OutgoingTextMessage;
 | 
			
		|||
import org.thoughtcrime.securesms.util.Base64;
 | 
			
		||||
import org.thoughtcrime.securesms.util.GroupUtil;
 | 
			
		||||
import org.thoughtcrime.securesms.util.TextSecurePreferences;
 | 
			
		||||
import org.thoughtcrime.securesms.util.Util;
 | 
			
		||||
import org.thoughtcrime.securesms.util.VersionTracker;
 | 
			
		||||
import org.whispersystems.jobqueue.JobParameters;
 | 
			
		||||
import org.whispersystems.libaxolotl.DuplicateMessageException;
 | 
			
		||||
import org.whispersystems.libaxolotl.IdentityKey;
 | 
			
		||||
| 
						 | 
				
			
			@ -96,6 +98,11 @@ public class PushDecryptJob extends ContextJob {
 | 
			
		|||
  public void onRun() throws NoSuchMessageException {
 | 
			
		||||
    if (!IdentityKeyUtil.hasIdentityKey(context)) {
 | 
			
		||||
      Log.w(TAG, "Skipping job, waiting for migration...");
 | 
			
		||||
 | 
			
		||||
      if (KeyCachingService.getMasterSecret(context) != null) {
 | 
			
		||||
        MessageNotifier.updateNotification(context, null, -2);
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue