Pārlūkot izejas kodu

1.补充非隐私模式 触发进入流程(输入密码)同步日志到主干

huangxiaodong 6 mēneši atpakaļ
vecāks
revīzija
8c1ddf15ae

+ 8 - 0
创维盒子/双子星云手机/AppDelegate/SceneDelegate.m

@@ -442,6 +442,9 @@
             //playerRootVC.isPwdVCShow = NO;
             //[playerRootVC setShowImgAndVoiceTypeFun:YES];
             //[weakSelf shareAwakenAppBy:weakSelf.getShareStr];
+            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+                [[NSNotificationCenter defaultCenter] postNotificationName:didInputPWDNotification object:nil];
+            });
 
             if(self->_session && self->_connectionOptions){
                 [self scene:self->_session openURLContexts:self->_connectionOptions.URLContexts];
@@ -457,6 +460,11 @@
         }
         else{
             [[webRtcManager shareManager] beginToLinkWebRtcFun];
+            ksharedAppDelegate.isFirstInputPwdDone = YES;
+            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+                [[NSNotificationCenter defaultCenter] postNotificationName:didInputPWDNotification object:nil];
+            });
+
         }
 
     }