I currently own a Samsung Galaxy S2 and I've been disappointed by the way the "Stage Fright" bug is being handled. Despite my phone only being 3 years old, no-one seems to planning to push out an update fixing this bug any time soon.
Since the Android eco-system have disappointed me so much, I'm looking at switching to a different one. But would I just end up going to a lot of trouble and still be in no better a situation?
Say I go out tomorrow and purchase a shiny new Windows Phone. What if, in three years time, someone finds a vulnerability and I need an OS update. Will I get one? How long should I expect updates be made?