|
|
|
@ -228,6 +228,10 @@ public class MainActivity extends AppCompatActivity {
|
|
|
|
|
Context appContext = getApplicationContext();
|
|
|
|
|
MicroPhotoContext.AppConfig curAppConfig = MicroPhotoContext.getMpAppConfig(appContext);
|
|
|
|
|
|
|
|
|
|
if (TextUtils.isEmpty(curAppConfig.cmdid)) {
|
|
|
|
|
curAppConfig.cmdid = MicroPhotoService.getSerialNumber();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
startMicroPhotoService(appContext, curAppConfig, mMessenger);
|
|
|
|
|
|
|
|
|
|
binding.btnStartServ.setEnabled(false);
|
|
|
|
|