we use camera api2 to find supported picture-sizes, but we use the api1 acutally.
some roms api2 picture-sizes list is not same as api1.
We double check the valid of picture-size at runtime to avoid crash. If the picture-size don't supported in api1, we will find the best one that has same aspect.