title: How to get entire list of available resolution of camera2API?
body: <p>I work with camera2API and when i try to get all possible resolutions with this standard method</p>
  
  <pre><code>Size[] sizes = map.getOutputSizes(ImageFormat.JPEG);
  
              for (int i = 0; i &lt; sizes.length; i++){
                  Size size = sizes[i];
                  Logger.logGeneral("Sizes " + i + " :" + " Width : " + size.getWidth() + " Height : " + size.getHeight());
              }
  </code></pre>
  
  <p>i get such output</p>
  
  <pre><code>E/GENERAL: [ActivityCamera::setUpCameraOutputs::406]:: Sizes 0 : Width : 3264 Height : 2448
  E/GENERAL: [ActivityCamera::setUpCameraOutputs::406]:: Sizes 1 : Width : 3264 Height : 1836
  E/GENERAL: [ActivityCamera::setUpCameraOutputs::406]:: Sizes 2 : Width : 2048 Height : 1152
  E/GENERAL: [ActivityCamera::setUpCameraOutputs::406]:: Sizes 3 : Width : 1920 Height : 1080
  E/GENERAL: [ActivityCamera::setUpCameraOutputs::406]:: Sizes 4 : Width : 1280 Height : 720
  E/GENERAL: [ActivityCamera::setUpCameraOutputs::406]:: Sizes 5 : Width : 960 Height : 720
  E/GENERAL: [ActivityCamera::setUpCameraOutputs::406]:: Sizes 6 : Width : 640 Height : 480
  E/GENERAL: [ActivityCamera::setUpCameraOutputs::406]:: Sizes 7 : Width : 320 Height : 240
  E/GENERAL: [ActivityCamera::setUpCameraOutputs::406]:: Sizes 8 : Width : 256 Height : 144
  </code></pre>
  
  <p>but it is not entire... When i open defoult camera i can chose more hight resolution</p>
  
  <p><a href="https://i.stack.imgur.com/kE1Vsl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kE1Vsl.jpg" alt="enter image description here"></a></p>
  
  <p>But why i can't get it all in my standard method?</p>
  
  <p>Actually i notice this issue with Samsung S6, my Meizu MX5 show me all list of resolution.</p>
  
  <p>What am i doing wrong?</p>