Keeping that list up to date is a nightmare. iOS alone has ~100 different UA strings. For Android, the OEM browser UA may include the device name, but user installed browsers likely do not. E.g. Firefox makes a distinction between phones and tablets but that is all you get.
CSS can differentiate between screen sizes but that would not help much with content delivery.