commit | 655878267749d619c09247dd5ec29ea37e9db4af | [log] [tgz] |
---|---|---|
author | Sebastiano Barezzi <barezzisebastiano@gmail.com> | Tue Aug 09 19:41:46 2022 +0200 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Sep 29 22:22:55 2022 +0200 |
tree | 785cbf64e358d8746fedf02c7538c7dd833a6d46 | |
parent | 1f8d76b4ff867c67e7f347791b150ef3aee7e166 [diff] |
Aperture: Fix flash button not being available at app start * CameraController.cameraInfo is still initializing while we're setting up UI, resulting in hasFlashUnit() returning false * Get a CameraInfo object from CameraProvider, will be useful in the future once we'll move to camera ID based camera selection Change-Id: Iae8cfbbdeb063934c756d96ba2708862fc5ed0e6