if (i != null) {
i.setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
i.putExtra("anim", true);
startActivity(i);
<BUG>overridePendingTransition(0, 0);
mDrawerLayout.postDelayed(new Runnable() {
@Override
public void run() {
mDrawerLayout.closeDrawers();</BUG>
}

if (i != null) {
i.setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
i.putExtra("anim", true);
startActivity(i);
overridePendingTransition(0, 0);
mDrawerLayout.postDelayed(() -> mDrawerLayout.closeDrawers(), 500);
