| | |
| | | package com.basic.security.manager.helper.rm.base; |
| | | |
| | | import com.basic.security.base.BaseFragment; |
| | | import com.basic.security.manager.AccountManager; |
| | | import com.basic.security.manager.BaseSettingManager; |
| | | import com.basic.security.manager.UserManager; |
| | | |
| | | public class CurrentBaseSignUp extends CurrentBaseStayInWaitFace { |
| | | protected void signUpPerson() { |
| | | if (!AccountManager.adminLoggedIn()) { |
| | | if (!UserManager.adminLoggedIn()) { |
| | | if (activity.currentFragment == activity.fragment_su_auto_wait_face) { |
| | | if (currentPerson == null) { |
| | | if (BaseSettingManager.isAutoSignUpMode()) { |
| | |
| | | // } |
| | | } |
| | | } |
| | | if (AccountManager.adminLoggedIn()) { |
| | | // System.out.println("CurrentBaseSignUp.signUpPerson 1"); |
| | | if (activity.currentFragment == activity.fragment_account_setting) { |
| | | // System.out.println("CurrentBaseSignUp.signUpPerson 2"); |
| | | if (UserManager.adminLoggedIn()) { |
| | | // System1.out.println("CurrentBaseSignUp.signUpPerson 1"); |
| | | if (activity.currentFragment == activity.fragment_user) { |
| | | // System1.out.println("CurrentBaseSignUp.signUpPerson 2"); |
| | | BaseFragment.detectedResultTime = System.currentTimeMillis(); |
| | | BaseFragment.detectedResult = detectedResult; |
| | | showFragmentSuccess = true; |
| | | activity.fragment_account_setting.userPhotoDetected(currentFacePosition); |
| | | activity.fragment_user.userPhotoDetected(currentFacePosition); |
| | | } |
| | | if (activity.currentFragment == activity.fragment_su_logged_nic_wait_face || |
| | | activity.currentFragment == activity.fragment_su_logged_ic_wait_face) { |