|
|
@ -455,18 +455,19 @@ public class MainActivity extends BaseMainActivity implements Device.IDeviceConn |
|
|
|
* 选择激活方式 |
|
|
|
* 选择激活方式 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void showActivateType() { |
|
|
|
private void showActivateType() { |
|
|
|
if (AppChannel.customChannel == AppChannel.CUSTOM_CONTROL_PUBLIC) { |
|
|
|
// if (AppChannel.customChannel == AppChannel.CUSTOM_CONTROL_PUBLIC) {
|
|
|
|
if (LCUser.getCurrentUser() == null) { |
|
|
|
// if (LCUser.getCurrentUser() == null) {
|
|
|
|
Intent intent = new Intent(Utils.getApp(), LoginActivity.class); |
|
|
|
// Intent intent = new Intent(Utils.getApp(), LoginActivity.class);
|
|
|
|
intent.putExtra("finishTo", UserInfoActivity.class.getName()); |
|
|
|
// intent.putExtra("finishTo", UserInfoActivity.class.getName());
|
|
|
|
startActivity(intent); |
|
|
|
// startActivity(intent);
|
|
|
|
} else { |
|
|
|
// } else {
|
|
|
|
startActivity(new Intent(MainActivity.this, UserInfoActivity.class)); |
|
|
|
// startActivity(new Intent(MainActivity.this, UserInfoActivity.class));
|
|
|
|
} |
|
|
|
// }
|
|
|
|
} else { |
|
|
|
// } else {
|
|
|
|
|
|
|
|
// startActivity(new Intent(MainActivity.this, RegisterActivity.class));
|
|
|
|
|
|
|
|
// }
|
|
|
|
startActivity(new Intent(MainActivity.this, RegisterActivity.class)); |
|
|
|
startActivity(new Intent(MainActivity.this, RegisterActivity.class)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void onResume() { |
|
|
|
public void onResume() { |
|
|
|