Browse Source

1.补充弹框流程
2.补充非隐私模式 触发进入流程(输入密码)

huangxiaodong 1 year ago
parent
commit
56d53eb995

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

@@ -416,6 +416,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];
@@ -431,6 +434,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];
+            });
+
         }
 
     }

+ 1 - 1
创维盒子/双子星云手机/NAS/NASViewController.m

@@ -911,7 +911,7 @@
 {
     KWeakSelf
     mainBlock(^{
-        //[weakSelf beginShowAlertFun];
+        [weakSelf beginShowAlertFun];
         
         BOOL isNeedShowSecret = [HWDataManager getBoolWithKey:Const_need_show_Secret_key];
         if(isNeedShowSecret){