Earlier quoted context omitted.
A design patent, https://en.wikipedia.org/wiki/Design_patent , is different from a patent granted for an invention.
Seems similar to me. Lots of rounded rect products existed before iPhone. Like say, cassette tapes, vhs tapes, 8track tapes, bars of soap, cans of spam, license plates, sardine cans, etc...
What Samsung did that forced Apple to enforce their design patent was copy the design EXACTLY down to the _exact_ radius of the corners.
All they had to do was not 100% copy Apple's design, just by changing the ratios a bit and they would've been unaffected.