3 Commits

Author SHA1 Message Date
roynatech2544
8ca9bd12ef FlashControl: Do not tamper with settings
Logic here is since APP can tell if QS panel flash is on, and APP cannot control QS to modify state, just disable turning off flash if QS has turned it on

- Revert 2776ddb454
2023-05-24 15:26:58 +09:00
roynatech2544
2776ddb454 FlashControl: Just write to settings value 2023-05-24 06:29:44 +09:00
roynatech2544
37d18f5b9b FlashControl: Initial impl
- Base was from LineageOS' SamsungDap

Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
2023-05-23 22:42:11 +09:00