title: Camera2: setting optical stabilization does nothing (OIS)
body: <p>I have Samsung S10 which has video stabilization feature.
  Using system default Camera app I can see the difference when it's enabled and not: first if it's enabled than there will be some zoomed preview, second it is noticeable during device movements.</p>
  <p><a href="https://i.stack.imgur.com/cq03x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cq03x.png" alt="enter image description here" /></a></p>
  <p>I tried to enable stabilization in my own app using Camera2 API, also FullHD and rear camera (the same as with default system app).</p>
  <p>I tested that <code>characteristics.get(CameraCharacteristics.CONTROL_AVAILABLE_VIDEO_STABILIZATION_MODES)</code> returns only <code>CONTROL_VIDEO_STABILIZATION_MODE_OFF</code> so this is not supported.</p>
  <p>But <code>characteristics.get(CameraCharacteristics.LENS_INFO_AVAILABLE_OPTICAL_STABILIZATION)</code>
  has <code>CameraMetadata.LENS_OPTICAL_STABILIZATION_MODE_ON</code></p>
  <p>So I as I understand this is exactly the option to enable video stabilization (optical), should be the same as in default system app.</p>
  <p>But when I do the next for camera capture session configuration it doesn't change anything, no zoomed preview (as it was with default system camera app) and no changes during movement, so the video is the same in my app as it would have been in default camera app with disabled video stabilization</p>
  <pre><code>captureRequestBuilder.set(
      CaptureRequest.LENS_OPTICAL_STABILIZATION_MODE,
      CameraMetadata.LENS_OPTICAL_STABILIZATION_MODE_ON
  )
  </code></pre>
  <p>So setting this parameter doesn't change anything.</p>
  <p>Why video stabilization works in default system camera app but not in my own app using Camera2 API?</p>