That defeats the brute-force attack protection…
The idea is that brute-force attackers will only check each password once, while real users will likely assume they mistyped and retype the same password.
The code isn’t complete, and has nothing to do with actually incorrect passwords.
It’s funny, I’ve had an Android, a Nokia Windows Phone, and an iPhone, and Windows Phone was the only OS in which I didn’t open every single app through search. The utter lack of an app ecosystem definitely played a part, but I honestly don’t think either of the other two handle home screens/“app drawers” very well. Every modern social media platform/messenger/etc. is built around vertical continuous scrolling because it’s easier. Why is horizontal, paginated scrolling the default for home screens?