on event of language change im just want to restart the android app to reflect the ui changes so here is my code:
Intent i = getBaseContext().getPackageManager()
.getLaunchIntentForPackage(getBaseContext().getPackageName());
i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_TASK_ON_HOME);
startActivity(i);
which is working fine with android lollypop and jellybeans but its not working with the kitkat
Android:launchMode ="singleTask"