Kind of a funny comment given the sibling comment noting that this is Apple catching up to a long-existing Android securitt feature, file transfer over USB requires first unlocking the device.
No, iOS has done that for years, since like iOS 2 or 3 maybe. This is different- it locks itself down completely, even to channels that have previously been granted access, if it hasn't been unlocked for 7 days
My Android phone (and most recent Android phones I know) completely locks USB data, including from devices that had previously been granted access. You have to unlock, touch a notification and enable some file transfer option instead of "charging only". No 7 days limit, the access is denied immediately once it disconnects.