After reading up on how to determine the camera's supported sizes, it is clear that all relevant questions (such as this one) are referring to the old android.hardware.camera
which has now been deprecated.
How to you retrieve the current device's supported resolutions using the new camera2
package?