修改sonarQube问题
This commit is contained in:
@ -272,9 +272,6 @@ public class MainActivity extends BaseActivity {
|
||||
|
||||
ReservationRepository.refreshReservations();
|
||||
|
||||
if (getIntent().getBooleanExtra(SWITCH_TO_COMMUNITY, false)) {
|
||||
handler.postDelayed(this::switchToCommunityTabAndRefresh, 800);
|
||||
}
|
||||
if (getIntent().getBooleanExtra(SWITCH_TO_VIDEO, false)) {
|
||||
handler.postDelayed(() -> mMainWrapperFragment.setCurrentItem(2), 800);
|
||||
}
|
||||
@ -803,21 +800,11 @@ public class MainActivity extends BaseActivity {
|
||||
doSkip();
|
||||
}
|
||||
|
||||
// 跳转到问答社区并刷新
|
||||
if (getIntent().getBooleanExtra(SWITCH_TO_COMMUNITY, false)) {
|
||||
switchToCommunityTabAndRefresh();
|
||||
}
|
||||
if (getIntent().getBooleanExtra(SWITCH_TO_VIDEO, false)) {
|
||||
mMainWrapperFragment.setCurrentItem(2);
|
||||
}
|
||||
}
|
||||
|
||||
private void switchToCommunityTabAndRefresh() {
|
||||
// getIntent().putExtra(SWITCH_TO_COMMUNITY, false);
|
||||
// Log.e("Switch", "true");
|
||||
// EventBus.getDefault().post(new EBSkip(MainActivity.EB_SKIP_MAIN, MainWrapperFragment.INDEX_BBS));
|
||||
// EventBus.getDefault().post(new EBReuse(CommunityFragment.EB_RETRY_PAGE));
|
||||
}
|
||||
|
||||
private void checkTinkerPath() {
|
||||
// CommonDebug.logMethodWithParams(this, TinkerManager.getTinkerId(), TinkerManager.getNewTinkerId());
|
||||
|
||||
Reference in New Issue
Block a user