
In order to use DeviceInfo class in media2, this CL moves the class to common module. It didn't move the other file in the same package, DeviceListener, as it's for DeviceComponent but media2 SessionPlayer doesn't have components as it is already flattened. PlayerCallback will have equivalent methods of DeviceListener. PiperOrigin-RevId: 321154997