|
|
@@ -224,14 +224,14 @@
|
|
|
if(ksharedAppDelegate.needToShowReStratSucType){
|
|
|
ksharedAppDelegate.needToShowReStratSucType = NO;
|
|
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
- [self showReStartSucFun];
|
|
|
+ [self showReStartSucFun:1];
|
|
|
});
|
|
|
}
|
|
|
|
|
|
if(self.isReRestartIngBoxType){
|
|
|
self.isReRestartIngBoxType = NO;
|
|
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
- [self showReStartSucFun];
|
|
|
+ [self showReStartSucFun:2];
|
|
|
});
|
|
|
}
|
|
|
|
|
|
@@ -1187,14 +1187,14 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-#pragma mark 显示重启成功
|
|
|
-- (void)showReStartSucFun
|
|
|
+#pragma mark 显示重启成功 type:1 云手机 2 盒子
|
|
|
+- (void)showReStartSucFun:(NSInteger)type
|
|
|
{
|
|
|
//1.隐私模式密码界面 3秒检测一次是否输入完成密码了
|
|
|
if(ksharedAppDelegate.isDidShowPwdType){
|
|
|
KWeakSelf
|
|
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
- [weakSelf showReStartSucFun];
|
|
|
+ [weakSelf showReStartSucFun:type];
|
|
|
});
|
|
|
|
|
|
return;
|
|
|
@@ -1203,7 +1203,7 @@
|
|
|
[self closeBoxHeartbeatReStartViewFun];
|
|
|
|
|
|
|
|
|
- BoxHeartbeatReStartSucView *view = [[BoxHeartbeatReStartSucView alloc] init];
|
|
|
+ BoxHeartbeatReStartSucView *view = [[BoxHeartbeatReStartSucView alloc] initWithType:type];
|
|
|
[ksharedAppDelegate.window addSubview:view];
|
|
|
|
|
|
[view mas_makeConstraints:^(MASConstraintMaker *make) {
|