by Patrick Corgan
𝘉𝘺 𝘗𝘢𝘵𝘳𝘪𝘤𝘬 𝘊𝘰𝘳𝘨𝘢𝘯
This flow shows how to use the Quick Settings tiles. This just uses a tile to turn the flashlight on and off, but you can replace that with something more creative (I'd really be interested if you find something 𝘭𝘦𝘴𝘴 creative).
The QS tiles weren't officially supported until Android 7 or CyanogenMod 12.1, but may work with Android 6 (see QS tile block documentation). This feature may not work on all devices. Finally, make sure you have a QS tile set up and unused.