Merge "Reset the home settings activity when launching it" into tm-dev

This commit is contained in:
Schneider Victor-tulias
2022-03-22 18:23:41 +00:00
committed by Android (Google) Code Review
@@ -229,7 +229,7 @@ public class OptionsPopupView extends ArrowPopup<Launcher>
Launcher launcher = Launcher.getLauncher(view.getContext());
launcher.startActivity(new Intent(Intent.ACTION_APPLICATION_PREFERENCES)
.setPackage(launcher.getPackageName())
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK));
return true;
}