Since Android 8 to 13, when you want to disable Password Manager's saving password we only need to include this:
android:importantForAutofill="no"
But it seems something changed in Android 14 and that autofield exclusion doesn't work.
I also tried to include
android:importantForAutofill="noExcludeDescendants"
on the parent's layout.
Also, I tried to remove android:inputType="textEmailAddress"
and android:inputType="textPassword"
in the TextInputEditText, but it also doesn't work.
This is the dialog that is shown in Android 14.