The camera app checks the result of QCameraFlashControl::isFlashModeSupported(...) http://doc.qt.io/qt-5/qcameraflashcontrol.html#isFlashModeSupported
It considers a flash is available if: isFlashModeSupported(QCameraExposure::FlashAuto) && isFlashModeSupported(QCameraExposure::FlashOff) && isFlashModeSupported(QCameraExposure::FlashOn); -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1542094 Title: [camera] LED & Flash toggles are shown even when no LED or Flash present on hardware To manage notifications about this bug go to: https://bugs.launchpad.net/avila/+bug/1542094/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs