增加异常处理

lowmem
Matthew 4 weeks ago
parent f66955ba99
commit 740dc120f6

@ -70,9 +70,13 @@ public class MainActivity extends AppCompatActivity {
mHandler.postDelayed(new Runnable() { mHandler.postDelayed(new Runnable() {
@Override @Override
public void run() { public void run() {
try {
if (initMpMasterConfigurations(context)) { if (initMpMasterConfigurations(context)) {
restartMpMasterApp(context); restartMpMasterApp(context);
} }
} catch (Exception ex) {
ex.printStackTrace();
}
sleep(1000); sleep(1000);
System.exit(0); System.exit(0);

Loading…
Cancel
Save