规范部分Thread
This commit is contained in:
@ -144,17 +144,13 @@ public class CleanApkActivity extends BaseActivity implements CleanApkAdapter.On
|
||||
case R.id.reuse_nodata_skip_tv_btn: {
|
||||
Intent intent = MainActivity.getMainIntent(this);
|
||||
startActivity(intent);
|
||||
new Thread() {
|
||||
|
||||
mNodataSkipBtn.postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
sleep(300);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
EventBus.getDefault().post(new EBSkip(MainActivity.EB_SKIP_GAMEFRAGMENT, 0));
|
||||
}
|
||||
}.start();
|
||||
}, 300);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user