Under the new EU Ecodesign regulation, smartphone manufacturers must provide software updates for at least 5 years after the date of last sale, not 1-2 years.
(Applies to newly released devices, not to devices which were already on the market as of June 20).
https://single-market-economy.ec.europa.eu/news/new-eu-rules...