Hacker News new | past | comments | ask | show | jobs | submit login

Am I reading this right? This reads like the presence of a UI element holds the unlock state of the phone?



No, not exactly, but Android is old and gnarly enough that a lot of components don't have a clear Model/View separation you'd expect in modern codebases.


The good old "Model / View / Confuser" paradigm.


Android was invented before MVC?


Well it was designed around Java, so definitely before common sense was invented.


Well, the UI element’s dismissal is what signals the system that holds unlock state. And the problem was that multiple other systems would automate the dismissal of the current UI element… without checking whether it was the appropriate UI element they expected to be there!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: