Is Android's Camera.getSupportedPreviewSizes guaranteed to include the size of the device display?
I tested on several devices and this seems to be the case, but I can't find any documentation regarding this.
Is Android's Camera.getSupportedPreviewSizes guaranteed to include the size of the device display?
I tested on several devices and this seems to be the case, but I can't find any documentation regarding this.
Apparently not. Found this question which gives an example of a (front) camera not matching the display pixel size.