|
@@ -31,6 +31,7 @@ import com.hanghui.senic.activity.setup.SystemConfigurationActivity;
|
|
import com.hanghui.senic.activity.setup.ZFBBrushFaceActivity;
|
|
import com.hanghui.senic.activity.setup.ZFBBrushFaceActivity;
|
|
import com.hanghui.senic.activity.setup.zoloConfigCameraActivity;
|
|
import com.hanghui.senic.activity.setup.zoloConfigCameraActivity;
|
|
import com.hanghui.senic.adapter.SetUpAdapter;
|
|
import com.hanghui.senic.adapter.SetUpAdapter;
|
|
|
|
+import com.hanghui.senic.baiduface.BaiduFacePreviewActivity;
|
|
import com.hanghui.senic.baiduface.BaiduFaceUtil;
|
|
import com.hanghui.senic.baiduface.BaiduFaceUtil;
|
|
import com.hanghui.senic.common.AppHandler;
|
|
import com.hanghui.senic.common.AppHandler;
|
|
import com.hanghui.senic.common.CommonUtil;
|
|
import com.hanghui.senic.common.CommonUtil;
|
|
@@ -114,7 +115,7 @@ public class SetUpActivity extends BaseActivity {
|
|
@Override
|
|
@Override
|
|
public void onClick(View v) {
|
|
public void onClick(View v) {
|
|
ConfigManager.mSessionId = "";
|
|
ConfigManager.mSessionId = "";
|
|
- Intent intent = new Intent(activity, MainActivity.class);
|
|
|
|
|
|
+ Intent intent = new Intent(activity, BaiduFacePreviewActivity.class);
|
|
startActivity(intent);
|
|
startActivity(intent);
|
|
finish();
|
|
finish();
|
|
}
|
|
}
|
|
@@ -311,7 +312,7 @@ public class SetUpActivity extends BaseActivity {
|
|
public boolean onKeyDown(int keyCode, KeyEvent event) {
|
|
public boolean onKeyDown(int keyCode, KeyEvent event) {
|
|
if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_DOWN) {
|
|
if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_DOWN) {
|
|
ConfigManager.mSessionId = "";
|
|
ConfigManager.mSessionId = "";
|
|
- Intent intent = new Intent(activity, MainActivity.class);
|
|
|
|
|
|
+ Intent intent = new Intent(activity, BaiduFacePreviewActivity.class);
|
|
startActivity(intent);
|
|
startActivity(intent);
|
|
finish();
|
|
finish();
|
|
return true;
|
|
return true;
|