That's what google did for my nexus 5x when it broke - and that was over 2 years after I purchased it and out of warranty. I did get it from the play store though, and so may change depending on where you purchased it from.
Still annoying, and phones shouldn't die like that, but it was probably the best thing they could have done by that point.
Still annoying, and phones shouldn't die like that, but it was probably the best thing they could have done by that point.